blockly > blockRendering > IPathObject > setStyle
blockRendering.IPathObject.setStyle() method
Update the style.
Signature:
setStyle(blockStyle: BlockStyle): void;
Parameters
Parameter | Type | Description |
---|---|---|
blockStyle | BlockStyle | The block style to use. |
Returns:
void