CombineMode

System.Drawing.Drawing2D.CombineMode

Namespace: System.Drawing.Drawing2D

Assembly: System.Drawing.Managed (4.0.0.0)

Specifies how different clipping regions can be combined.

public enum CombineMode : Enum

Fields

Name
Description

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.

Used By

Name
Description

Sets the clipping region of this Graphics to the result of the specified operation combining the current clip region and the rectangle specified by a RectangleF structure.

Last updated

Was this helpful?