Stay organized with collections
Save and categorize content based on your preferences.
blockly > zelos
zelos namespace
Classes
Class |
Description |
BottomRow |
An object containing information about what elements are in the bottom row of a block as well as spacing information for the top row. Elements in a bottom row can consist of corners, spacers and next connections. |
ConstantProvider |
An object that provides constants for rendering blocks in Zelos mode. |
Drawer |
An object that draws a block based on the given rendering information. |
PathObject |
An object that handles creating and setting each of the SVG elements used by the renderer. |
Renderer |
The zelos renderer. This renderer emulates Scratch-style and MakeCode-style rendering. Zelos is the ancient Greek spirit of rivalry and emulation. |
RenderInfo |
An object containing all sizing information needed to draw this block. This measure pass does not propagate changes to the block (although fields may choose to rerender when getSize() is called). However, calling it repeatedly may be expensive. |
RightConnectionShape |
An object containing information about the space a right connection shape takes up during rendering. |
StatementInput |
An object containing information about the space a statement input takes up during rendering. |
TopRow |
An object containing information about what elements are in the top row of a block as well as sizing information for the top row. Elements in a top row can consist of corners, hats, spacers, and previous connections. After this constructor is called, the row will contain all non-spacer elements it needs. |
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 2025-05-16 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 2025-05-16 UTC."],[[["\u003cp\u003eThe Zelos renderer emulates Scratch-style and MakeCode-style rendering for Blockly blocks.\u003c/p\u003e\n"],["\u003cp\u003eThis namespace provides classes for managing the rendering process, including block sizing, element positioning, and SVG drawing.\u003c/p\u003e\n"],["\u003cp\u003eClasses like \u003ccode\u003eConstantProvider\u003c/code\u003e, \u003ccode\u003eDrawer\u003c/code\u003e, and \u003ccode\u003eRenderer\u003c/code\u003e handle the core rendering functionalities.\u003c/p\u003e\n"],["\u003cp\u003eOther classes such as \u003ccode\u003eTopRow\u003c/code\u003e, \u003ccode\u003eBottomRow\u003c/code\u003e, and \u003ccode\u003eStatementInput\u003c/code\u003e define the structure and layout of block elements.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eRenderInfo\u003c/code\u003e stores sizing information, while \u003ccode\u003ePathObject\u003c/code\u003e manages the creation and manipulation of SVG elements for block visuals.\u003c/p\u003e\n"]]],[],null,["[blockly](./blockly.md) \\\u003e [zelos](./blockly.zelos_namespace.md)\n\nzelos namespace\n---------------\n\nClasses\n-------\n\n| Class | Description |\n|---------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| [BottomRow](./blockly.zelos_namespace.bottomrow_class.md) | An object containing information about what elements are in the bottom row of a block as well as spacing information for the top row. Elements in a bottom row can consist of corners, spacers and next connections. |\n| [ConstantProvider](./blockly.zelos_namespace.constantprovider_class.md) | An object that provides constants for rendering blocks in Zelos mode. |\n| [Drawer](./blockly.zelos_namespace.drawer_class.md) | An object that draws a block based on the given rendering information. |\n| [PathObject](./blockly.zelos_namespace.pathobject_class.md) | An object that handles creating and setting each of the SVG elements used by the renderer. |\n| [Renderer](./blockly.zelos_namespace.renderer_class.md) | The zelos renderer. This renderer emulates Scratch-style and MakeCode-style rendering. Zelos is the ancient Greek spirit of rivalry and emulation. |\n| [RenderInfo](./blockly.zelos_namespace.renderinfo_class.md) | An object containing all sizing information needed to draw this block. This measure pass does not propagate changes to the block (although fields may choose to rerender when getSize() is called). However, calling it repeatedly may be expensive. |\n| [RightConnectionShape](./blockly.zelos_namespace.rightconnectionshape_class.md) | An object containing information about the space a right connection shape takes up during rendering. |\n| [StatementInput](./blockly.zelos_namespace.statementinput_class.md) | An object containing information about the space a statement input takes up during rendering. |\n| [TopRow](./blockly.zelos_namespace.toprow_class.md) | An object containing information about what elements are in the top row of a block as well as sizing information for the top row. Elements in a top row can consist of corners, hats, spacers, and previous connections. After this constructor is called, the row will contain all non-spacer elements it needs. |"]]