Stay organized with collections
Save and categorize content based on your preferences.
blockly > zelos > Renderer > makeDrawer_
zelos.Renderer.makeDrawer_() method
Create a new instance of the renderer's drawer.
Signature:
protected makeDrawer_(block: BlockSvg, info: BaseRenderInfo): Drawer;
Parameters
Parameter |
Type |
Description |
block |
BlockSvg |
The block to render. |
info |
BaseRenderInfo |
An object containing all information needed to render this block. |
Returns:
Drawer
The drawer.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-09-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-09-18 UTC."],[[["The `zelos.MarkerSvg.applyColour_()` method is used to apply color to a marker SVG element within the Blockly Zelos renderer."],["This method takes an `ASTNode` object as input, presumably to determine the appropriate color based on the node's properties."],["The function does not return any value, suggesting its purpose is to solely modify the marker's visual appearance."]]],[]]