Package io.github.humbleui.skija.svg
Enum SVGPreserveAspectRatioAlign
- java.lang.Object
-
- java.lang.Enum<SVGPreserveAspectRatioAlign>
-
- io.github.humbleui.skija.svg.SVGPreserveAspectRatioAlign
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<SVGPreserveAspectRatioAlign>
public enum SVGPreserveAspectRatioAlign extends java.lang.Enum<SVGPreserveAspectRatioAlign>
-
-
Field Summary
Fields Modifier and Type Field Description int_valuestatic SVGPreserveAspectRatioAlign[]_values
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SVGPreserveAspectRatioAlignvalueOf(int value)Returns the enum constant of this type with the specified name.static SVGPreserveAspectRatioAlignvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static SVGPreserveAspectRatioAlign[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
XMIN_YMIN
public static final SVGPreserveAspectRatioAlign XMIN_YMIN
-
XMID_YMIN
public static final SVGPreserveAspectRatioAlign XMID_YMIN
-
XMAX_YMIN
public static final SVGPreserveAspectRatioAlign XMAX_YMIN
-
XMIN_YMID
public static final SVGPreserveAspectRatioAlign XMIN_YMID
-
XMID_YMID
public static final SVGPreserveAspectRatioAlign XMID_YMID
-
XMAX_YMID
public static final SVGPreserveAspectRatioAlign XMAX_YMID
-
XMIN_YMAX
public static final SVGPreserveAspectRatioAlign XMIN_YMAX
-
XMID_YMAX
public static final SVGPreserveAspectRatioAlign XMID_YMAX
-
XMAX_YMAX
public static final SVGPreserveAspectRatioAlign XMAX_YMAX
-
NONE
public static final SVGPreserveAspectRatioAlign NONE
-
-
Field Detail
-
_values
@Internal public static final SVGPreserveAspectRatioAlign[] _values
-
_value
@Internal public final int _value
-
-
Method Detail
-
values
public static SVGPreserveAspectRatioAlign[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (SVGPreserveAspectRatioAlign c : SVGPreserveAspectRatioAlign.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SVGPreserveAspectRatioAlign valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
valueOf
@Internal public static SVGPreserveAspectRatioAlign valueOf(int value)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-