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
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.
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
rect
RectangleRectangle to intersect.