blockly > blockRendering > ConstantProvider > validatedBlockStyle_
blockRendering.ConstantProvider.validatedBlockStyle_() method
Get a full block style object based on the input style object. Populate any missing values.
Signature:
protected validatedBlockStyle_(blockStyle: Partial<BlockStyle>): BlockStyle;
Parameters
Parameter | Type | Description |
---|---|---|
blockStyle | Partial<BlockStyle> | A full or partial block style object. |
Returns:
BlockStyle
A full block style object, with all required properties populated.