blockly > Grid > setLength
متد Grid.setLength().
طول خطوط شبکه را تنظیم می کند.
امضا:
setLength(length: number): void;
پارامترها
پارامتر | تایپ کنید | توضیحات |
---|
طول | شماره | |
برمی گرداند:
باطل
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-12 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-12 بهوقت ساعت هماهنگ جهانی."],[[["The `Grid.setLength()` method is used to define the length of grid lines within a Blockly workspace."],["It accepts a single parameter, `length`, which is a number specifying the desired length of the grid lines, and does not return any value."]]],["The `Grid.setLength()` method adjusts the length of the grid lines. It accepts one parameter, `length`, which is a number representing the desired length. This method modifies the grid's visual appearance by setting this specific attribute. The method does not return any value, and its effect is directly applied to the grid object.\n"]]