public static enum Paint.Align extends Enum<Paint.Align>
Enum Constant and Description |
---|
CENTER
The text is drawn centered horizontally on the x,y origin
|
LEFT
The text is drawn to the right of the x,y origin
|
RIGHT
The text is drawn to the left of the x,y origin
|
Modifier and Type | Method and Description |
---|---|
static Paint.Align |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Paint.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Paint.Align LEFT
public static final Paint.Align CENTER
public static final Paint.Align RIGHT
public static Paint.Align[] values()
for (Paint.Align c : Paint.Align.values()) System.out.println(c);
public static Paint.Align 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 null