public enum FontAlignment extends java.lang.Enum<FontAlignment>
Enum Constant and Description |
---|
AUTOMATIC |
BASELINE |
BOTTOM |
CENTER |
TOP |
Modifier and Type | Method and Description |
---|---|
static FontAlignment |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static FontAlignment[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FontAlignment AUTOMATIC
public static final FontAlignment BOTTOM
public static final FontAlignment BASELINE
public static final FontAlignment CENTER
public static final FontAlignment TOP
public static FontAlignment[] values()
for (FontAlignment c : FontAlignment.values()) System.out.println(c);
public static FontAlignment valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullCopyright 2021 The Apache Software Foundation or its licensors, as applicable.