Skip to main content
All docs
V24.2

DiagramShape.position Property

Gets the shape position (x- and y-coordinates) in units.

#Declaration

TypeScript
position: any

#Property Value

Type Description
any

An object that contains the shape coordinates.

#Remarks

The position property contains coordinates in the following format: {"x":204,"y":48}. The coordinates specify the position of the top left shape corner relative to the top left corner of the diagram work area.

Diagram Shape Position

See Also