public static enum Image.AspectRatio extends Enum<Image.AspectRatio>
| Enum Constant and Description |
|---|
FOUR_BY_THREE |
SIXTEEN_BY_NINE |
| Modifier and Type | Method and Description |
|---|---|
String |
getName() |
static Image.AspectRatio |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Image.AspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Image.AspectRatio SIXTEEN_BY_NINE
public static final Image.AspectRatio FOUR_BY_THREE
public static Image.AspectRatio[] values()
for (Image.AspectRatio c : Image.AspectRatio.values()) System.out.println(c);
public static Image.AspectRatio 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 nullpublic String getName()
Copyright © 2014. All rights reserved.