Stay organized with collections Save and categorize content based on your preferences.

blockly > zelos > Renderer > makeDrawer_

zelos.Renderer.makeDrawer_() method

Create a new instance of the renderer's drawer.

Signature:

protected makeDrawer_(block: BlockSvg, info: BaseRenderInfo): Drawer;

Parameters

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

Returns:

Drawer

The drawer.