Window.size

Wraps SDL_SetWindowSize which resizes the size of the window in pixels

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

Parameters

newSize uint[2]

new resized size of the window in pixels (width and height)

Meta