public enum CompareFunction extends java.lang.Enum<CompareFunction>
Enum Constant and Description |
---|
Always
Always pass the test.
|
Equal
Accept the new pixel if its value is equal to the value of the current pixel.
|
Greater
Accept the new pixel if its value is greater than the value of the current pixel.
|
GreaterEqual
Accept the new pixel if its value is greater than or equal to the value of the current pixel.
|
Less
Accept the new pixel if its value is less than the value of the current pixel.
|
LessEqual
Accept the new pixel if its value is less than or equal to the value of the current pixel.
|
Never
Always fail the test.
|
NotEqual
Accept the new pixel if its value is not equal to the value of the current pixel.
|
Modifier and Type | Method and Description |
---|---|
int |
getValue() |
static CompareFunction |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static CompareFunction[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final CompareFunction Always
public static final CompareFunction Never
public static final CompareFunction Less
public static final CompareFunction LessEqual
public static final CompareFunction Equal
public static final CompareFunction GreaterEqual
public static final CompareFunction Greater
public static final CompareFunction NotEqual
public static CompareFunction[] values()
for (CompareFunction c : CompareFunction.values()) System.out.println(c);
public static CompareFunction 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 nullpublic int getValue()