Leiste
Mit Drawer
werden SVG-Pfade basierend auf den Rendererinformationen erstellt und an das Pfadobjekt übergeben.
Es verbindet alle verschiedenen Pfaddarstellungen der verschiedenen Messwerte, die im Konstantenanbieter definiert sind. Die Leiste verwendet die von Blockly bereitgestellten SVG-Pfad-Dienstprogramme.
Die Leiste ändert auch die Offsets der Verbindungen im Block.
Sofern nicht anders angegeben, sind die Inhalte dieser Seite unter der Creative Commons Attribution 4.0 License und Codebeispiele unter der Apache 2.0 License lizenziert. Weitere Informationen finden Sie in den Websiterichtlinien von Google Developers. Java ist eine eingetragene Marke von Oracle und/oder seinen Partnern.
Zuletzt aktualisiert: 2023-07-24 (UTC).
[null,null,["Zuletzt aktualisiert: 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"]]