Replaces current clipping region for this GdiGraphics object with given Region using specified set-theoretic operation.
Namespace:
Aurigma.GraphicsMill.Drawing
Assembly:
Aurigma.GraphicsMill (in Aurigma.GraphicsMill.dll)
Public Sub SetClip ( _ clipRegion As Region, _ combineMode As CombineMode _ )
public void SetClip( Region clipRegion, CombineMode combineMode )
Type: System.Drawing.Region
Region structure specifying new clipping region.Type: System.Drawing.Drawing2D.CombineMode
CombineMode value defining set-theoretic operation used to combine given rectangle with current clipping region.You can also modify the 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.