Graphics.SetClip Method (Rectangle)

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

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

Syntax

C#
public void SetClip(
	Rectangle clipRectangle
)

Parameters

clipRectangle

Type: System.Drawing.Rectangle

A Rectangle structure 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