Stay organized with collections Save and categorize content based on your preferences.

blockly > geras > Renderer

geras.Renderer class

The geras renderer.

Signature:

export declare class Renderer extends BaseRenderer 

Extends: BaseRenderer

Remarks

The constructor for this class is marked as internal. Third-party code should not call the constructor directly or create subclasses that extend the Renderer class.

Methods

Method Modifiers Description
makeConstants_()
makeDrawer_(block, info) protected Create a new instance of the renderer's drawer.
makeHighlightConstants_() protected Create a new instance of the renderer's highlight constant provider.
makeRenderInfo_(block) protected Create a new instance of the renderer's render info object.
refreshDom(svg, theme)