RectangleSet.Add Methods
Adds another area to this RectangleSet.
Overload List
| Name | Description | |
|---|---|---|
| Public method | Add(RectangleSet area) | Adds another RectangleSet to this RectangleSet. |
| Public method | Add(Rectangle rectangle) | Adds a new rectangle to this RectangleSet. |
Add(RectangleSet area)
Adds another RectangleSet to this RectangleSet.Syntax
public void Add (
RectangleSet area
)Parameters
Another RectangleSet.
Remarks
The calling RectangleSet will be modified to be the union of the two areas.
Add(Rectangle rectangle)
Adds a new rectangle to this RectangleSet.Syntax
public void Add (
Rectangle rectangle
)Parameters
A new rectangle.
Remarks
The calling RectangleSet will be modified to contain the new rectangle as well.
Platforms
Windows, Linux, Android