blockly > blockRendering > PathObject > updateShadow_

blockRendering.PathObject.updateShadow_() method

Updates the look of the block to reflect a shadow state.

Signature:

protected updateShadow_(shadow: boolean): void;

Parameters

Parameter Type Description
shadow boolean True if the block is a shadow block.

Returns:

void