opacity property

double opacity

The opacity for the graphics overlay.

Must be a value between 0 and 1 with 1 being solid or opaque and 0 being transparent. The default opacity is 1.

Implementation

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

Implementation

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