public static enum Pipeline.ResizeMode extends java.lang.Enum<Pipeline.ResizeMode>
| Enum Constant and Description |
|---|
EXACT
Resizes the input image exactly to the specified dimensions.
|
FILL
Resizes the input image while preserving the aspect ratio and making the
image at least as large as the specified dimensions.
|
FIT
Resizes the input image while preserving the aspect ratio and making the
image no larger than the specified dimensions.
|
| Modifier and Type | Method and Description |
|---|---|
static Pipeline.ResizeMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Pipeline.ResizeMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Pipeline.ResizeMode EXACT
public static final Pipeline.ResizeMode FILL
public static final Pipeline.ResizeMode FIT
public static Pipeline.ResizeMode[] values()
for (Pipeline.ResizeMode c : Pipeline.ResizeMode.values()) System.out.println(c);
public static Pipeline.ResizeMode 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