usableBounds property

Rectangle usableBounds

Get usable bounds.

SDL Docs

Implementation

Rectangle get usableBounds {
  sdl.checkReturnValue(
    sdl.sdl.SDL_GetDisplayUsableBounds(index, sdl.rectPointer),
  );
  final r = sdl.rectPointer.ref;
  return Rectangle(r.x, r.y, r.w, r.h);
}