public enum TextFontAlign extends java.lang.Enum<TextFontAlign>
| Enum Constant and Description | 
|---|
| AUTOAutomatic alignment | 
| BASELINEAlign text to the baseline. | 
| BOTTOMAlign text to the bottom. | 
| CENTERAlign text in the center. | 
| TOPAlign text to the top. | 
| Modifier and Type | Method and Description | 
|---|---|
| static TextFontAlign | valueOf(java.lang.String name)Returns the enum constant of this type with the specified name. | 
| static TextFontAlign[] | values()Returns an array containing the constants of this enum type, in
the order they are declared. | 
public static final TextFontAlign AUTO
public static final TextFontAlign TOP
public static final TextFontAlign CENTER
public static final TextFontAlign BASELINE
public static final TextFontAlign BOTTOM
public static TextFontAlign[] values()
for (TextFontAlign c : TextFontAlign.values()) System.out.println(c);
public static TextFontAlign 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 2020 The Apache Software Foundation or its licensors, as applicable.