کشو
Drawer
مسیرهای SVG را بر اساس اطلاعات رندر میسازد و آنها را به شی مسیر ارسال میکند.
تمام نمایشهای مسیرهای مختلف اندازهگیریپذیرهای مختلف (که در ارائهدهنده ثابت تعریف شدهاند) را به یکدیگر متصل میکند. کشو برای این کار از مسیر SVG استفاده می کند که توسط Blockly ارائه شده است.
کشو همچنین افست اتصالات درون بلوک را به روز می کند.
جز در مواردی که غیر از این ذکر شده باشد،محتوای این صفحه تحت مجوز Creative Commons Attribution 4.0 License است. نمونه کدها نیز دارای مجوز Apache 2.0 License است. برای اطلاع از جزئیات، به خطمشیهای سایت Google Developers مراجعه کنید. جاوا علامت تجاری ثبتشده Oracle و/یا شرکتهای وابسته به آن است.
تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-01-10 بهوقت ساعت هماهنگ جهانی."],[[["The `Drawer` uses renderer information to construct SVG paths for block visualization, passing them to the path object for rendering."],["It integrates path representations of block elements, defined by the constant provider, and connects them using SVG path utilities."],["The `Drawer` is also responsible for adjusting the positions of connection points within the block during rendering."]]],["The `Drawer` constructs SVG paths using renderer info and sends them to the path object. It integrates various path representations of measurables, defined within the constant provider. Blockly's SVG path utilities are used for path construction. Additionally, the `Drawer` adjusts the offsets of connections located within the block. This process is central to how blocks are visually assembled and connected.\n"]]