blockly > blockRendering > RenderInfo > (constructor)
blockRendering.RenderInfo.(constructor)
Constructs a new instance of the RenderInfo
class
Signature:
constructor(renderer: Renderer, block: BlockSvg);
Parameters
Parameter | Type | Description |
---|---|---|
renderer | Renderer | The renderer in use. |
block | BlockSvg | The block to measure. |