[]
        
(Showing Draft Content)

C1.Framework.Drawing.Gdi.Graphics.IntersectClip

IntersectClip Method

IntersectClip(Rectangle)

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

Declaration
public void IntersectClip(Rectangle rectangle)
Parameters
Type Name Description
Rectangle rectangle

Rectangle structure to intersect with the current clip region.

Remarks

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

IntersectClip(Region)

Updates the clip region of this Graphics object to the intersection of the current clip region and the specified Region object.

Declaration
public void IntersectClip(Region region)
Parameters
Type Name Description
Region region

Region object to intersect with the current region.

Remarks

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