public static enum TextParagraph.FontAlign extends java.lang.Enum<TextParagraph.FontAlign>
Enum Constant and Description |
---|
AUTO |
BASELINE
Place characters on font baseline.
|
BOTTOM
Characters are anchored to the very bottom of a single line.
|
CENTER
Characters centered within line height.
|
TOP
Characters hang from top of line height.
|
Modifier and Type | Method and Description |
---|---|
static TextParagraph.FontAlign |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TextParagraph.FontAlign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextParagraph.FontAlign AUTO
public static final TextParagraph.FontAlign TOP
public static final TextParagraph.FontAlign CENTER
public static final TextParagraph.FontAlign BASELINE
public static final TextParagraph.FontAlign BOTTOM
public static TextParagraph.FontAlign[] values()
for (TextParagraph.FontAlign c : TextParagraph.FontAlign.values()) System.out.println(c);
public static TextParagraph.FontAlign 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.