Method ExcludeClipRect
ExcludeClipRect(int, int, int, int)
When implemented by a class, creates a new clipping region that consists of the existing clipping region minus the specified rectangle.
void ExcludeClipRect(int x, int y, int width, int height)
Parameters
xintX-coordinate, of the upper-left corner of the rectangle.
yintY-coordinate, of the upper-left corner of the rectangle.
widthintWidth of the rectangle.
heightintHeight 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.
void ExcludeClipRect(Rectangle rect)
Parameters
rectRectangleRectangle to exclude.