Skip to content

Point

Structure representing a point.

The structure encapsulates a coordinate in a two-dimensional coordinate system.

X value.

x: number

Y value.

y: number

Constructs a new point.

new Point(x: number, y: number)

x number

X value.

y number

Y value.