blockly > zelos > Renderer > makePathObject
zelos.Renderer.makePathObject() method
Create a new instance of a renderer path object.
Signature:
makePathObject(root: SVGElement, style: BlockStyle): PathObject;
Parameters
Parameter | Type | Description |
---|---|---|
root | SVGElement | The root SVG element. |
style | BlockStyle | The style object to use for colouring. |
Returns:
PathObject
The renderer path object.