public static enum ResizeRequirement.Mode extends java.lang.Enum<ResizeRequirement.Mode>
| Enum Constant and Description |
|---|
EXACT
When resizing, the output image will have the exact target size.
|
EXACT_OR_LARGER
When resizing, the output image might be slightly larger than the target size.
|
EXACT_OR_SMALLER
When resizing, the output image might be slightly smaller than the target size.
|
| Modifier and Type | Method and Description |
|---|---|
static ResizeRequirement.Mode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResizeRequirement.Mode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResizeRequirement.Mode EXACT
public static final ResizeRequirement.Mode EXACT_OR_SMALLER
public static final ResizeRequirement.Mode EXACT_OR_LARGER
public static ResizeRequirement.Mode[] values()
for (ResizeRequirement.Mode c : ResizeRequirement.Mode.values()) System.out.println(c);
public static ResizeRequirement.Mode 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