A point in two-dimensional space.

The y coordinate origin starts at the top.

interface Point {
    x: number;
    y: number;
}

Properties

x y

Properties

x: number

The x-coordinate in pixels.

y: number

The y-coordinate in pixels.

Generated using TypeDoc