public enum Halign extends Enum<Halign>
TextBillboardRenderer
, w.r.t. its position.Enum Constant and Description |
---|
CENTER
Centered horizontal alignment.
|
LEFT
Left horizontal alignment.
|
RIGHT
Right horizontal alignment.
|
Modifier and Type | Method and Description |
---|---|
static Halign |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Halign[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Halign LEFT
public static final Halign RIGHT
public static final Halign CENTER
public static Halign[] values()
for (Halign c : Halign.values()) System.out.println(c);
public static Halign 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. All rights reserved.