Window.position

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

  1. int[2] position()
    class Window
    const @property @trusted
    int[2]
    position
    ()
  2. void position(int[2] newPosition)

Return Value

Type: int[2]

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

Meta