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
x
intX-coordinate, of the upper-left corner of the rectangle.
y
intY-coordinate, of the upper-left corner of the rectangle.
width
intWidth of the rectangle.
height
intHeight 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
rect
RectangleRectangle to exclude.