Constructors
| Constructor | Description |
|---|---|
Region Region() | Creates an empty region. |
Region Region( RectArray rectArray ) | Constructor from a value of type RectArray. Creates a region containing the rectangles from the rectArray array. |
Operators
| Operator | Description |
|---|---|
Or | Unites two regions. |
And | Intersects two regions; or a region and a rectangle. Returns a value of type Region. |
Methods
| Method | Description |
|---|---|
XCoordinate Left() | Returns the left boundary of the region. Read-only property. |
YCoordinate top() | Returns the top boundary of the region. Read-only property. |
XCoordinate Right() | Returns the right boundary of the region. Read-only property. |
YCoordinate Bottom() | Returns the bottom boundary of the region. Read-only property. |
Distance Width() | Returns the width of the region. Read-only property. |
Distance Height() | Returns the height of the region. Read-only property. |
Area Area() | Returns the area of the region. Read-only property. |
Void Inflate( Distance xDist, Distance yDist ) | Expands the region by xDist to the right and to the left, and by yDist upwards and downwards. |
Rect Rect() | Returns a copy of the rectangle circumscribing the region. |
