Region.Exclude
Exclude(RectangleF)
Updates this Region to contain only the portion of its interior that does not intersect with the specified RectangleF structure.
public void Exclude(RectangleF rect)
| Parameter | Type | Description |
|---|
| rect | RectangleF | The RectangleF structure to exclude from this Region. |
See Also
Exclude(Rectangle)
Updates this Region to contain only the portion of its interior that does not intersect with the specified Rectangle structure.
public void Exclude(Rectangle rect)
| Parameter | Type | Description |
|---|
| rect | Rectangle | The Rectangle structure to exclude from this Region. |
See Also
Exclude(GraphicsPath)
Updates this Region to contain only the portion of its interior that does not intersect with the specified GraphicsPath.
public void Exclude(GraphicsPath path)
Exceptions
| exception | condition |
|---|
| ArgumentNullException | path is null. |
See Also
Exclude(Region)
Updates this Region to contain only the portion of its interior that does not intersect with the specified Region.
public void Exclude(Region region)
| Parameter | Type | Description |
|---|
| region | Region | The Region to exclude from this Region. |
Exceptions
| exception | condition |
|---|
| ArgumentNullException | region is null. |
See Also