Rectangle

Describes a rectangle. This class is also a four-element collection.

Objects:

Number

Property Listing

Property

Type

Access

Description

bottom

Number

read/write

The bottom coordinate.

height

Number

read/write

The height.

left

Number

read/write

The left coordinate.

length

Number

readonly

The array length.

right

Number

read/write

The right coordinate.

top

Number

read/write

The top coordinate.

width

Number

read/write

The width.

x

Number

read/write

The left coordinate.

y

Number

read/write

The top coordinate.