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

blockly > zelos > Renderer

zelos.Renderer class

The zelos 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.

Properties

Property Modifiers Type Description
constants_ protected ConstantProvider

Methods

Method Modifiers Description
getConnectionPreviewMethod(closest, local, topBlock)
getConstants() Get the current renderer's constant provider. We assume that when this is called, the renderer has already been initialized.
makeConstants_() protected Create a new instance of the renderer's constant provider.
makeDrawer_(block, info) protected Create a new instance of the renderer's drawer.
makeRenderInfo_(block) protected Create a new instance of the renderer's render info object.
shouldHighlightConnection(conn)