Represents a pair of x- and y-coordinates that defines a point in a two-dimensional plane.

Syntax

{
   x: <number>,
   y: <number>
}

Introduced: X15.

Properties

Property Description
x The x-coordinate of the point.
y The y-coordinate of the point.