StyleWithOpacity: {
    opacity?: Opacity;
}

Type declaration

  • Optionalopacity?: Opacity

    The value must be between 0 and 100:

    • If the set value is less than 0, the used value is 0.
    • If the set value is greater than 100, the used value is 100.

    Notes about the default special keyword:

    • It is used to apply the opacity defined in the default style of the BPMN element.
    • It can be used when the style is first updated and then needs to be reset to its initial value.