Adobe FrameMaker-12 Object Model JS: Point (SUI)
From FrameMaker 12.0
Class
Point (SUI)
Defines the location of a window or UI element. Contains a 2-element array.
Specifies the origin point of an element as horizontal and vertical pixel offsets from the origin of the element's coordinate space. A Point object is created when you set an element's location property. You can set the property using a JavaScript object with properties named x and y, or an array with 2 values in the order [x, y].
Properties
| Property | Type | Access | Description |
|---|---|---|---|
| left | Number | r/w | The left coordinate. |
| length | Number | readonly | The array length. (default: 2) |
| top | Number | r/w | The top coordinate. |
| x | Number | r/w | The horizontal coordinate, a pixel offset from the origin of the element's coordinate space. |
| y | Number | r/w | The vertical coordinate, a pixel offset from the origin of the element's coordinate space. |
| Jongware, 18-Jan-2015 v1.0 | Contents :: Index |