public static enum Scale.ScaleType extends Enum<Scale.ScaleType>
| Enum Constant and Description |
|---|
FILL |
FIT |
FIT_SHRINK |
| Modifier and Type | Method and Description |
|---|---|
static Scale.ScaleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Scale.ScaleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Scale.ScaleType FILL
public static final Scale.ScaleType FIT
public static final Scale.ScaleType FIT_SHRINK
public static Scale.ScaleType[] values()
for (Scale.ScaleType c : Scale.ScaleType.values()) System.out.println(c);
public static Scale.ScaleType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is null