DS Server

Javascript: Point.x Property

Property|Introduced in 25.0

Description

The x-coordinate of the point.

Syntax

<number> Point.x

Examples

The following example demonstrates Point.x in a practical document-editing workflow. The x-coordinate of the point.

function inspectX(point) {
    const x = point.x;
    console.log("x:", x);
}