public static enum FloodFill.Algorithm extends java.lang.Enum<FloodFill.Algorithm>
| Enum Constant and Description |
|---|
EightWay
8 neighbors. |
FourWay
4 neighbors. |
| Modifier and Type | Method and Description |
|---|---|
static FloodFill.Algorithm |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FloodFill.Algorithm[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FloodFill.Algorithm FourWay
public static final FloodFill.Algorithm EightWay
public static FloodFill.Algorithm[] values()
for (FloodFill.Algorithm c : FloodFill.Algorithm.values()) System.out.println(c);
public static FloodFill.Algorithm 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