Skip to main content

Home > 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

ConstructorModifiersDescription
(constructor)(block, info)Constructs a new instance of the Drawer class

Properties

PropertyModifiersTypeDescription
constants_ConstantProvider
highlighter_Highlighter

Methods

MethodModifiersDescription
draw()
drawBottom_()
drawInlineInput_(input)
drawJaggedEdge_(row)
drawLeft_()protectedAdd 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)