DS Server

Javascript: Rectangle.size Property

Property|Introduced in 25.0

Description

The size of the rectangle.

Syntax

<Size> Rectangle.size

Examples

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

function inspectSize(rectangle) {
    const size = rectangle.size;
    console.log("size:", size);
}