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