public enum PreserveAspectRatio extends Enum<PreserveAspectRatio>
preserveAspectRatio attribute.| Enum Constant and Description |
|---|
NONE |
XMAX_YMAX |
XMAX_YMID |
XMAX_YMIN |
XMID_YMAX |
XMID_YMID |
XMID_YMIN |
XMIN_YMAX |
XMIN_YMID |
XMIN_YMIN |
| Modifier and Type | Method and Description |
|---|---|
String |
toString() |
static PreserveAspectRatio |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PreserveAspectRatio[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PreserveAspectRatio NONE
public static final PreserveAspectRatio XMIN_YMIN
public static final PreserveAspectRatio XMIN_YMID
public static final PreserveAspectRatio XMIN_YMAX
public static final PreserveAspectRatio XMID_YMIN
public static final PreserveAspectRatio XMID_YMID
public static final PreserveAspectRatio XMID_YMAX
public static final PreserveAspectRatio XMAX_YMIN
public static final PreserveAspectRatio XMAX_YMID
public static final PreserveAspectRatio XMAX_YMAX
public static PreserveAspectRatio[] values()
for (PreserveAspectRatio c : PreserveAspectRatio.values()) System.out.println(c);
public static PreserveAspectRatio 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 toString()
toString in class Enum<PreserveAspectRatio>Copyright © 2016. All rights reserved.