Skip to main content

Home > blockly > blockRendering > PathObject > setPath

blockRendering.PathObject.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