Window.size - multiple declarations
Function Window.size
Wraps SDL_GetWindowSize
which gets the size of the window in pixels
uint[2] size() @property @trusted const;
Returns
size of the window in pixels
Function Window.size
Wraps SDL_SetWindowSize
which resizes the size of the window in pixels
void size
(
uint[2] newSize
) @property @trusted;
Parameters
Name | Description |
---|---|
newSize | new resized size of the window in pixels (width and height) |