public enum GradientDetectMethod extends Enum<GradientDetectMethod> implements Enumeration
GradientDetectMethod
Enum Constant and Description |
---|
EAST
Detects east gradients.
|
NORTH
Detects north gradients.
|
NORTH_EAST
Detects north east gradients.
|
NORTH_WEST
Detects north west gradients.
|
SOUTH
Detects south gradients.
|
SOUTH_EAST
Detects south east gradients.
|
SOUTH_WEST
Detects south west gradients.
|
WEST
Detects west gradients.
|
Modifier and Type | Method and Description |
---|---|
static GradientDetectMethod |
getDefault()
Get the enum constant that is considered to be the default.
|
static GradientDetectMethod |
getFromValue(int value)
Get the enum constant that is associated with the given numeric value.
|
int |
getValue()
Get the numeric value associated with this enum constant.
|
static GradientDetectMethod |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GradientDetectMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GradientDetectMethod EAST
public static final GradientDetectMethod NORTH
public static final GradientDetectMethod WEST
public static final GradientDetectMethod SOUTH
public static final GradientDetectMethod NORTH_EAST
public static final GradientDetectMethod NORTH_WEST
public static final GradientDetectMethod SOUTH_EAST
public static final GradientDetectMethod SOUTH_WEST
public static GradientDetectMethod[] values()
for (GradientDetectMethod c : GradientDetectMethod.values()) System.out.println(c);
public static GradientDetectMethod valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic int getValue()
getValue
in interface Enumeration
@Nonnull public static GradientDetectMethod getFromValue(int value)
value
- a numeric value.@Nonnull public static GradientDetectMethod getDefault()