System.Drawing.Graphics.IntersectClip Method

Updates the clip region of this System.Drawing.Graphics to the intersection of the current clip region and the specified System.Drawing.Rectangle structure.

Syntax

public void IntersectClip (Rectangle rect)

Parameters

rect
System.Drawing.Rectangle structure to intersect with the current clip region.

Remarks

This method assigns to the Graphics.Clip property of this System.Drawing.Graphics the area represented by the intersection of the current clip region and the rectangle specified by the rect parameter.

Requirements

Namespace: System.Drawing
Assembly: System.Drawing (in System.Drawing.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0