public enum PreserveAspectRatio extends Enum<PreserveAspectRatio>
preserveAspectRatio
attribute.Enum Constant and Description |
---|
NONE
Value 'none'.
|
XMAX_YMAX
Value 'xMaxYMax'.
|
XMAX_YMID
Value 'xMaxYMid'.
|
XMAX_YMIN
Value 'xMaxYMin'.
|
XMID_YMAX
Value 'xMidYMax'.
|
XMID_YMID
Value 'xMidYMid'.
|
XMID_YMIN
Value 'xMidYMin'.
|
XMIN_YMAX
Value 'xMinYMax'.
|
XMIN_YMID
Value 'xMinYMid'.
|
XMIN_YMIN
Value 'xMinYMin'.
|
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 © 2021. All rights reserved.