Skip to main content

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

Parameter

Type

Description

pathString

string

The path.

Returns:

void