CombineMode

Inheritance: java.lang.Object, com.aspose.ms.System.ValueType, com.aspose.ms.System.Enum

public final class CombineMode extends System.Enum

Specifies how different clipping regions can be combined.

Fields

FieldDescription
ReplaceOne clipping region is replaced by another.
IntersectTwo clipping regions are combined by taking their intersection.
UnionTwo clipping regions are combined by taking the union of both.
XorTwo clipping regions are combined by taking only the areas enclosed by one or the other region, but not both.
ExcludeSpecifies that the existing region is replaced by the result of the new region being removed from the existing region.
ComplementSpecifies that the existing region is replaced by the result of the existing region being removed from the new region.

Replace

public static final int Replace

One clipping region is replaced by another.

Intersect

public static final int Intersect

Two clipping regions are combined by taking their intersection.

Union

public static final int Union

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

Xor

public static final int Xor

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

Exclude

public static final int 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.

Complement

public static final int 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.