blockly > minimalist > Drawer > (constructor)

minimalist.Drawer.(constructor)

Use Blockly.blockRendering.Drawer instead. To be removed in v11.

Constructs a new instance of the Drawer class

Signature:

constructor(block: BlockSvg, info: RenderInfo);

Parameters

Parameter Type Description
block BlockSvg The block to render.
info RenderInfo An object containing all information needed to render this block.