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

blockly > blockRendering > Renderer

blockRendering.Renderer class

The base class for a block renderer.

Signature:

export declare class Renderer implements IRegistrable 

Implements: IRegistrable

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 The renderer's constant provider.

Methods

Method Modifiers Description
makeConstants_() protected Create a new instance of the renderer's constant provider.
makeDebugger_() protected Create a new instance of the renderer's debugger.
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.