CombineMode Enumeration

 

Specifies how different clipping regions can be combined.

Namespace:   System.Drawing.Drawing2D
Assembly:  System.Drawing (in System.Drawing.dll)

public enum CombineMode

Member nameDescription
Complement

Specifies that the existing region is replaced by the result of the existing region being removed from the new region. Said differently, the existing region is excluded from the new region.

Exclude

Specifies that the existing region is replaced by the result of the new region being removed from the existing region. Said differently, the new region is excluded from the existing region.

Intersect

Two clipping regions are combined by taking their intersection.

Replace

One clipping region is replaced by another.

Union

Two clipping regions are combined by taking the union of both.

Xor

Two clipping regions are combined by taking only the areas enclosed by one or the other region, but not both.

.NET Framework
Available since 1.1
Return to top
Show: