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