抽屜式
Drawer
會根據轉譯器資訊建構可擴充的 SVG 路徑,並將其傳遞至路徑物件。
並且將不同可測量的所有不同表示法表示法 (定義於常數供應商中) 加以連結。導覽匣會使用 Blockly 提供的 SVG 路徑公用程式。
導覽匣也會更新區塊內的連線偏移值。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-07-24 (世界標準時間)。
[null,null,["上次更新時間:2023-07-24 (世界標準時間)。"],[[["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"]]