public enum CombineMode extends java.lang.Enum<CombineMode>
Enum Constant and Description |
---|
Complement
Specifies that the existing region is replaced by the result of the existing region being removed
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.
|
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.
|
Modifier and Type | Method and Description |
---|---|
static CombineMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CombineMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CombineMode Replace
public static final CombineMode Intersect
public static final CombineMode Union
public static final CombineMode Xor
public static final CombineMode Exclude
public static final CombineMode Complement
public static CombineMode[] values()
for (CombineMode c : CombineMode.values()) System.out.println(c);
public static CombineMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null