با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
blockly > utils > Rect > getWidth
متد ()utils.Rect.getWidth
عرض این مستطیل را برمی گرداند.
امضا:
getWidth(): number;
برمی گرداند:
شماره
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-05-16 بهوقت ساعت هماهنگ جهانی.
[[["درک آسان","easyToUnderstand","thumb-up"],["مشکلم را برطرف کرد","solvedMyProblem","thumb-up"],["غیره","otherUp","thumb-up"]],[["اطلاعاتی که نیاز دارم وجود ندارد","missingTheInformationINeed","thumb-down"],["بیشازحد پیچیده/ مراحل بسیار زیاد","tooComplicatedTooManySteps","thumb-down"],["قدیمی","outOfDate","thumb-down"],["مشکل ترجمه","translationIssue","thumb-down"],["مشکل کد / نمونهها","samplesCodeIssue","thumb-down"],["غیره","otherDown","thumb-down"]],["تاریخ آخرین بهروزرسانی 2025-05-16 بهوقت ساعت هماهنگ جهانی."],[[["The `getWidth()` method, belonging to the `Rect` class within the `utils` namespace of Blockly, retrieves the width of the rectangle."],["It returns a numerical value representing the width of the rectangle."]]],["The `getWidth()` method, part of the `utils.Rect` class, is designed to retrieve the width of a rectangle. It takes no parameters and returns a numerical value representing the rectangle's width. This method is used to determine the horizontal size or extent of a rectangular object within the system.\n"]]