ExcludeClipRect Method
ExcludeClipRect(Int32, Int32, Int32, Int32)
When implemented by a class, creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
Declaration
void ExcludeClipRect(int x, int y, int width, int height)
Parameters
Type | Name | Description |
---|---|---|
Int32 | x | X-coordinate, of the upper-left corner of the rectangle. |
Int32 | y | Y-coordinate, of the upper-left corner of the rectangle. |
Int32 | width | Width of the rectangle. |
Int32 | height | Height of the rectangle. |
ExcludeClipRect(Rectangle)
When implemented by a class, creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
Declaration
void ExcludeClipRect(Rectangle rect)
Parameters
Type | Name | Description |
---|---|---|
Rectangle | rect | Rectangle to exclude. |