Window.size

Wraps SDL_GetWindowSize which gets the size of the window in pixels

  1. uint[2] size()
    class Window
    const @property @trusted
    uint[2]
    size
    ()
  2. void size(uint[2] newSize)

Return Value

Type: uint[2]

size of the window in pixels

Meta