Panel
Drawer
tworzy ścieżki SVG na podstawie informacji o renderowaniu i przekazuje je do obiektu ścieżki.
Łączy wszystkie różne odwzorowania ścieżek różnych pomiarów (zdefiniowane w stałym dostawcy). Aby to zrobić, panel używa użytych ścieżek SVG.
Szuflada aktualizuje też przesunięcia połączeń w bloku.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2023-07-24 UTC.
[null,null,["Ostatnia aktualizacja: 2023-07-24 UTC."],[[["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"]]