opacity property

double opacity

The opacity for the layer.

The opacity of this layer as a value between 0 (fully transparent) and 1 (fully opaque). The default opacity value is 1.

Implementation

double get opacity {
  return _withThrowingErrorHandler((errorHandler) {
    return runtimecore.RT_Layer_getOpacity(
      _handle,
      errorHandler,
    );
  });
}
void opacity=(double value)

Implementation

set opacity(double value) {
  _withThrowingErrorHandler((errorHandler) {
    runtimecore.RT_Layer_setOpacity(
      _handle,
      value,
      errorHandler,
    );
  });
}