Skip to main content

Home > blockly > geras > Drawer > (constructor)

geras.Drawer.(constructor)

Constructs a new instance of the Drawer class

Signature:

constructor(block: BlockSvg, info: RenderInfo);

Parameters

ParameterTypeDescription
blockBlockSvgThe block to render.
infoRenderInfoAn object containing all information needed to render this block.