Graphics.SetClip Method (Region)

Sets the clipping region of this Graphics to the rectangle specified by a Region.

Namespace: Aurigma.GraphicsMill.Drawing
Assembly: Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)

Syntax

C#
public void SetClip(
	Region clipRegion
)

Parameters

clipRegion

Type: System.Drawing.Region

A Region that represents the new clip region.

Remarks

You can modify new clipping region later through ExcludeClip(Rectangle), IntersectClip(Rectangle), and TranslateClip(Int32, Int32) methods. It also can be discarded with the ResetClip() method.

See Also

Reference