Graphics.SetClip Method (Region, CombineMode)

Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the specified Region.

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

Syntax

C#
public void SetClip(
	Region clipRegion,
	CombineMode combineMode
)

Parameters

clipRegion

Type: System.Drawing.Region

A Region to combine.
combineMode

Type: System.Drawing.Drawing2D.CombineMode

A member of the CombineMode enumeration that specifies the combining operation to use.

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