Skip to main content

geras

Classes

ClassDescription
ConstantProviderAn object that provides constants for rendering blocks in Geras mode.
DrawerAn object that draws a block based on the given rendering information, customized for the geras renderer.
HighlightConstantProviderAn object that provides constants for rendering highlights on blocks. Some highlights are simple offsets of the parent paths and can be generated programmatically. Others, especially on curves, are just made out of piles of constants and are hard to tweak.
HighlighterAn object that adds highlights to a block based on the given rendering information.
RenderInfoAn object containing all sizing information needed to draw this block, customized for the geras renderer.
InlineInputAn object containing information about the space an inline input takes up during rendering.
StatementInputAn object containing information about the space a statement input takes up during rendering.
PathObjectAn object that handles creating and setting each of the SVG elements used by the renderer.
RendererThe geras renderer. This renderer was designed to be backwards compatible with pre-2019 Blockly. Newer projects that are not constrained by backwards compatibility should use thrasos, which is a more modern take on this renderer.