blockly > blockRendering > Renderer > makeMarkerDrawer

blockRendering.Renderer.makeMarkerDrawer() method

Create a new instance of the renderer's marker drawer.

Signature:

makeMarkerDrawer(workspace: WorkspaceSvg, marker: Marker): MarkerSvg;

Parameters

Parameter Type Description
workspace WorkspaceSvg The workspace the marker belongs to.
marker Marker The marker.

Returns:

MarkerSvg

The object in charge of drawing the marker.