public enum EdgeDetectMethod extends Enum<EdgeDetectMethod> implements Enumeration
EdgeDetectFilter| Enum Constant and Description | 
|---|
HORIZONTAL
Detects horizontal edges. 
 | 
LAPLACIAN
Detects edges using the Laplacian method. 
 | 
LEFT_DIAGONAL
Detects left diagonal edges. 
 | 
PREWITT_LAPLACIAN
Detects edges using the Prewitt-Laplacian method. 
 | 
RIGHT_DIAGONAL
Detects right diagonal edges. 
 | 
SOBEL_HORIZONTAL
Detects horizontal edges using the Sobel method. 
 | 
SOBEL_VERTICAL
Detects vertical edges using the Sobel method. 
 | 
VERTICAL
Detects vertical edges. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
static EdgeDetectMethod | 
getDefault()
Get the enum constant that is considered to be the default. 
 | 
static EdgeDetectMethod | 
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 EdgeDetectMethod | 
valueOf(String name)
Returns the enum constant of this type with the specified name. 
 | 
static EdgeDetectMethod[] | 
values()
Returns an array containing the constants of this enum type, in
the order they are declared. 
 | 
public static final EdgeDetectMethod VERTICAL
public static final EdgeDetectMethod HORIZONTAL
public static final EdgeDetectMethod LEFT_DIAGONAL
public static final EdgeDetectMethod RIGHT_DIAGONAL
public static final EdgeDetectMethod LAPLACIAN
public static final EdgeDetectMethod PREWITT_LAPLACIAN
public static final EdgeDetectMethod SOBEL_VERTICAL
public static final EdgeDetectMethod SOBEL_HORIZONTAL
public static EdgeDetectMethod[] values()
for (EdgeDetectMethod c : EdgeDetectMethod.values()) System.out.println(c);
public static EdgeDetectMethod 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 EdgeDetectMethod getFromValue(int value)
value - a numeric value.@Nonnull public static EdgeDetectMethod getDefault()