blockly > blockRendering > Drawer > (constructor)
blockRendering.Drawer.(constructor)
Constructs a new instance of the Drawer class
Signature:
constructor(block: BlockSvg, info: RenderInfo);
Parameters
Parameter | Type | Description |
|---|---|---|
block | The block to render. | |
info | An object containing all information needed to render this block. |