Skip to main content

Point

A simple point object for 2D coordinates.

Interface​

struct Point

property double x
property double y

end

Example​

// Read point properties
const location = Window.focused().topLeft();
Phoenix.log(location.x, location.y); // -> 100 0