blockly > blockRendering > PathObject > setStyle

blockRendering.PathObject.setStyle() method

Set the style.

Signature:

setStyle(blockStyle: BlockStyle): void;

Parameters

Parameter Type Description
blockStyle BlockStyle The block style to use.

Returns:

void