public enum HorizontalAnchorPoint extends java.lang.Enum<HorizontalAnchorPoint>
AnchorPointAnnotation
to define horizontal alignment around the X1,Y1 coordinatesEnum Constant and Description |
---|
Center
Align Center
|
Left
Align Left
|
Right
Align Right
|
Modifier and Type | Method and Description |
---|---|
static HorizontalAnchorPoint |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static HorizontalAnchorPoint[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HorizontalAnchorPoint Left
public static final HorizontalAnchorPoint Center
public static final HorizontalAnchorPoint Right
public static HorizontalAnchorPoint[] values()
for (HorizontalAnchorPoint c : HorizontalAnchorPoint.values()) System.out.println(c);
public static HorizontalAnchorPoint 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