opacity property

double opacity

Get the opacity of this window.

SDL Docs

Implementation

double get opacity {
  sdl.checkReturnValue(
    sdl.sdl.SDL_GetWindowOpacity(handle, sdl.floatPointer),
  );
  return sdl.floatPointer.value;
}
void opacity=(double value)

Set the opacity for this window.

SDL Docs

Implementation

set opacity(final double value) =>
    sdl.checkReturnValue(sdl.sdl.SDL_SetWindowOpacity(handle, value));