public static enum LinePainter2D.Align extends java.lang.Enum<LinePainter2D.Align>
Enum Constant and Description |
---|
CENTER_X
Align by a provided center x.
|
CENTER_Y
Align by a provided center y.
|
Modifier and Type | Method and Description |
---|---|
static LinePainter2D.Align |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static LinePainter2D.Align[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LinePainter2D.Align CENTER_X
public static final LinePainter2D.Align CENTER_Y
public static LinePainter2D.Align[] values()
for (LinePainter2D.Align c : LinePainter2D.Align.values()) System.out.println(c);
public static LinePainter2D.Align 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 null