Optional
color?: Possible values are all HTML color names or HEX codes, as well as special keywords such as:
default
to use the color defined in the BPMN element default style.inherit
to apply the font color of the direct parent element.swimlane
to apply the font color of the nearest parent element with the type ShapeBpmnElementKind.LANE or ShapeBpmnElementKind.POOL.Notes about the default
special keyword:
Optional
family?: stringOptional
isOptional
isOptional
isOptional
isOptional
size?: numberThe type of the value is int (in px).
Note about properties that can be reset to default values.
Except for color (when the "BPMN in Color" support is disabled), all style properties can be set in the BPMN diagram via LabelStyle and can then override the default values. Currently, there is no way to know if they are overridden. So it is not possible to reset each property with the "Update Style" API.