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 | BlockSvg | The block to render. |
info | RenderInfo | An object containing all information needed to render this block. |