Replaces current clipping region for this GdiGraphics object with given Region.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub SetClip ( _ clipRegion As Region _ )
public void SetClip( Region clipRegion )
Type: System.Drawing.Region
Region structure specifying new clipping region.You can modify new clipping region later through ExcludeClip(Region), IntersectClip(Region) and TranslateClip(Int32, Int32) methods. It also can be discarded with ResetClip() property.
Unlike most other methods of the GdiGraphics class, coordinates of the region are measured in pixels.