Method IntersectClipRect
IntersectClipRect(int, int, int, int)
Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
public virtual void IntersectClipRect(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.
IntersectClipRect(Rectangle)
Creates a new clipping region from the intersection of the current clipping region and the specified rectangle.
public virtual void IntersectClipRect(Rectangle rect)
Parameters
rectRectangleRectangle to intersect.