opacity property

num get opacity

Gets or sets the opacity for all parts in this layer. The value must be between 0.0 (fully transparent) and 1.0 (no additional transparency). This value is multiplicative with any existing transparency, for instance from a Brush or image transparency. The default value is 1.

This property, unlike #visible, does not change whether any objects are found by the "find..." methods.

Implementation

_i2.num get opacity => _i4.getProperty(
      this,
      'opacity',
    );
set opacity (num value)

Implementation

set opacity(_i2.num value) {
  _i4.setProperty(
    this,
    'opacity',
    value,
  );
}