Skip to main content

Home > blockly > blockRendering > IPathObject > setPath

blockRendering.IPathObject.setPath() method

Set the path generated by the renderer onto the respective SVG element.

Signature:

setPath(pathString: string): void;

Parameters

ParameterTypeDescription
pathStringstringThe path.

Returns:

void