blockly > geras > Drawer

geras.Drawer class

An object that draws a block based on the given rendering information, customized for the geras renderer.

Signature:

export declare class Drawer extends BaseDrawer 

Extends: BaseDrawer

Constructors

Constructor Modifiers Description
(constructor)(block, info) Constructs a new instance of the Drawer class

Properties

Property Modifiers Type Description
constants_ ConstantProvider
highlighter_ Highlighter

Methods

Method Modifiers Description
draw()
drawBottom_()
drawInlineInput_(input)
drawJaggedEdge_(row)
drawLeft_() protected Add steps for the left side of the block, which may include an output connection
drawRightSideRow_(row)
drawStatementInput_(row)
drawTop_()
drawValueInput_(row)
positionExternalValueConnection_(row)
positionInlineInputConnection_(input)
positionNextConnection_()
positionStatementInputConnection_(row)