bounds property

Rectangle bounds

Get the bounds of this display.

SDL Docs

Implementation

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