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].

Objects:

Number

Property Listing

Property

Type

Access

Description

left

Number

read/write

The left coordinate.

length

Number

readonly

The array length.

top

Number

read/write

The top coordinate.

x

Number

read/write

The horizontal coordinate, a pixel offset from the origin of the element's coordinate space.

y

Number

read/write

The vertical coordinate, a pixel offset from the origin of the element's coordinate space.

Object of

ScriptUIGraphics (SUI).currentPoint

Window (SUI).frameLocation

Window (SUI).location

StaticText (SUI).location

Button (SUI).location

IconButton (SUI).location

EditText (SUI).location

ListBox (SUI).location

DropDownList (SUI).location

Checkbox (SUI).location

Scrollbar (SUI).location

RadioButton (SUI).location

Slider (SUI).location

Progressbar (SUI).location

TreeView (SUI).location

FlashPlayer (SUI).location

Group (SUI).location

Panel (SUI).location

Return

ScriptUIGraphics (SUI).moveTo()

ScriptUIGraphics (SUI).lineTo()

ScriptUIGraphics (SUI).rectPath()

ScriptUIGraphics (SUI).ellipsePath()