DS Server

Javascript: Rectangle.location Property

Property|Introduced in 25.0

Description

The location of the rectangle.

Syntax

<Point> Rectangle.location

Examples

The following example demonstrates Rectangle.location in a practical document-editing workflow. The location of the rectangle.

function inspectLocation(rectangle) {
    const location = rectangle.location;
    console.log("location:", location);
}