Vector2dF

Two dimensions vector.

Typetable

This is represented by a table with x and y properties, indicating a distance in two dimensions between two points.

print(view:offsetfromwindow())
-- { x=100, y=100 }

Properties

number x

X component.

number y

Y component.