blockly > geras > Renderer > makeDrawer_
Methode "geras.Renderer.makeDrawer_()"
Erstellt eine neue Instanz der Renderer-Leiste.
Unterschrift:
protected makeDrawer_(block: BlockSvg, info: BaseRenderInfo): Drawer;
Parameter
Parameter |
Typ |
Beschreibung |
Block |
BlockSvg |
Entspricht dem zu rendernden Block. |
Info |
BaseRenderInfo |
Ein Objekt, das alle Informationen enthält, die zum Rendern dieses Blocks erforderlich sind. |
Gibt zurück:
Schublade
Die Leiste.
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: 2024-08-21 (UTC).
[null,null,["Zuletzt aktualisiert: 2024-08-21 (UTC)."],[[["The `geras.Renderer.makeDrawer_` method creates a new drawer instance for rendering blocks within the Blockly library."],["It utilizes the `BlockSvg` and `BaseRenderInfo` objects to generate the drawer, ensuring accurate representation of the block's visual elements."],["The returned `Drawer` object is then employed to visually render the specified block within the workspace."]]],[]]