Serializable, Comparable<TextLine.TextPosition>public static enum TextLine.TextPosition extends Enum<TextLine.TextPosition>
| Enum Constant | Description |
|---|---|
CENTER |
Text will be centered.
|
LEFT |
Text will be aligned left.
|
RIGHT |
Text will be aligned right.
|
| Modifier and Type | Method | Description |
|---|---|---|
static TextLine.TextPosition |
valueOf(String name) |
Returns the enum constant of this type with the specified name.
|
static TextLine.TextPosition[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TextLine.TextPosition LEFT
public static final TextLine.TextPosition CENTER
public static final TextLine.TextPosition RIGHT
public static TextLine.TextPosition[] values()
for (TextLine.TextPosition c : TextLine.TextPosition.values()) System.out.println(c);
public static TextLine.TextPosition valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2014–2018. All rights reserved.