public enum TextFontAlign extends java.lang.Enum<TextFontAlign>
Enum Constant and Description |
---|
AUTO
Automatic alignment
|
BASELINE
Align text to the baseline.
|
BOTTOM
Align text to the bottom.
|
CENTER
Align text in the center.
|
TOP
Align 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 2022 The Apache Software Foundation or its licensors, as applicable.