Function Display.bounds

Wraps SDL_GetDisplayBounds which gets the display's bounding rectangle

Rect bounds() @property @trusted const;

Returns

dsdl2.Rect of the display's bounding rectangle

Throws

dsdl2.SDLException if failed to get the display bounds