public static enum SimpleTextPainter.HorizontalPosition extends Enum<SimpleTextPainter.HorizontalPosition>
Modifier and Type | Method and Description |
---|---|
static SimpleTextPainter.HorizontalPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SimpleTextPainter.HorizontalPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SimpleTextPainter.HorizontalPosition Left
public static final SimpleTextPainter.HorizontalPosition Center
public static final SimpleTextPainter.HorizontalPosition Right
public static SimpleTextPainter.HorizontalPosition[] values()
for (SimpleTextPainter.HorizontalPosition c : SimpleTextPainter.HorizontalPosition.values()) System.out.println(c);
public static SimpleTextPainter.HorizontalPosition 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 © 2016 Metron, Inc.. All rights reserved.