blockly > blockRendering > IPathObject > setMarkerSvg
blockRendering.IPathObject.setMarkerSvg() method
Add the marker SVG to this block's SVG group.
Signature:
setMarkerSvg(markerSvg: SVGElement): void;
Parameters
Parameter | Type | Description |
---|---|---|
markerSvg | SVGElement | The SVG root of the marker to be added to the block SVG group. |
Returns:
void