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

blockly > geras > Drawer

geras.Drawer class

An object that draws a block based on the given rendering information.

Signature:

export declare class Drawer extends BaseDrawer 

Extends: BaseDrawer

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