Window.x

Wraps SDL_GetWindowPosition which gets the top-left X coordinate position of the window in the desktop environment

  1. int x()
    class Window
    const @property @trusted
    int
    x
    ()
  2. void x(int newX)

Return Value

Type: int

top-left X coordinate position of the window in the desktop environment

Meta