Window.width - multiple declarations

Function Window.width

Wraps SDL_GetWindowSize which gets the width of the window in pixels

uint width() @property @trusted const;

Returns

width of the window in pixels

Function Window.width

Wraps SDL_SetWindowSize which resizes the width of the window in pixels

void width (
  uint newWidth
) @property @trusted;

Parameters

NameDescription
newWidth new resized width of the window in pixels