Skip to main content
The array of Y coordinates of the rectangles.

Constructors

ConstructorDescription
YCoordinateArray YCoordinateArray()Constructor. Creates an empty array of rectangles specified by Y coordinates.

Methods

MethodDescription
Void Add( YCoordinate )Adds a rectangle to the end of the array.
Void Add( YCoordinateArray )Adds another array to the end of the array.
Void InsertAt( Int index, YCoordinate )Adds a rectangle to position index.
Void DeleteAll()Deletes all elements of the array.
Void DeleteAt( Int index )Deletes the element in position index.
YCoordinate GetAt( Int index )Returns the element with the specified index.
Int Count()Returns the number of elements in the array.
Void ShiftDown( Int index, Distance )Shift downward (increase) the coordinate of the specified element in the array.
Void ShiftUp( Int index, Distance )Shift upward (decrease) the coordinate of the specified element in the array.
Void ShiftDown( Distance )Shift downward (increase) all elements in the array.
Void ShiftUp( Distance )Shift upward (decrease) all elements in the array.