Constructors
| Constructor | Description |
|---|---|
RectArray RectArray () | Creates an empty array of rectangles. |
RectArray RectArray( Rect rect ) | Constructor with parameter Rect. Creates an array consisting of one rectangle equal to the rect rect. |
RectArray RectArray( Region region ) | Constructor with parameter Region. Creates an array consisting of rectangles of the region region. |
Methods
| Method | Description |
|---|---|
Int Count() | Returns the number of array elements. |
Region Region() | Continuous region from an array of rectangles. |
Rect Rect() | Rectangle circumscribing an array of rectangles. |
Rect GetAt( Int ) | Returns the item at the specified index. |
Rect Rect( Int ) | Same as the Rect GetAt( Int ) method, obsolete syntax. |
Void Add( Rect rect ) | Adds a rect rectangle to an array of rectangles. |
Void Add( RectArray array ) | Adds an array array of rectangles to an array of rectangles. |
