blockly > blockRendering > MarkerSvg > (constructor)

blockRendering.MarkerSvg.(constructor)

Constructs a new instance of the MarkerSvg class

Signature:

constructor(workspace: WorkspaceSvg, constants: ConstantProvider, marker: Marker);

Parameters

Parameter Type Description
workspace WorkspaceSvg The workspace the marker belongs to.
constants ConstantProvider The constants for the renderer.
marker Marker The marker to draw.