WindowVector¶
Import: import system.window;
Read the usage guide for examples and common tasks. This reference lists the public declarations for this part of the library. See Reading API signatures for parameter and result notation.
WindowVector¶
A 2D position or offset in window coordinates. Window coordinates are logical pixels measured from the top-left corner of the window's content area, with y growing downward. Multiply by Window.scale_factor to get physical pixels.
x¶
Horizontal component.
y¶
Vertical component; positive values point down.
constructor¶
Creates a vector from its two components.