public static enum Settings.Fit extends java.lang.Enum<Settings.Fit>
| Enum Constant and Description |
|---|
HORIZONTAL
Fit image width inside viewport area.
|
INSIDE
Fit both image width and image height inside viewport area.
|
OUTSIDE
Fit image width or image height inside viewport area, so the entire viewport is filled.
|
VERTICAL
Fit image height inside viewport area.
|
| Modifier and Type | Method and Description |
|---|---|
static Settings.Fit |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Settings.Fit[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Settings.Fit HORIZONTAL
public static final Settings.Fit VERTICAL
public static final Settings.Fit INSIDE
public static final Settings.Fit OUTSIDE
public static Settings.Fit[] values()
for (Settings.Fit c : Settings.Fit.values()) System.out.println(c);
public static Settings.Fit 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