public static enum OutsideLabel.LineLabel.Orientation extends java.lang.Enum<OutsideLabel.LineLabel.Orientation>
Enum Constant and Description |
---|
BOTH
The label can be placed on either side of the line.
|
CENTER
Places the label over the line.
|
CLOCKWISE
Places the label clockwise from the line, looking from start to end.
|
COUNTERCLOCKWISE
Places the label counterclockwise from the line, looking from start to end.
|
LEFT_TOP
Places the label on top of the line, or to the left for vertical lines.
|
RIGHT_BOTTOM
Places the label at the bottom of the line, or to the right for vertical lines.
|
Modifier and Type | Method and Description |
---|---|
static OutsideLabel.LineLabel.Orientation |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static OutsideLabel.LineLabel.Orientation[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OutsideLabel.LineLabel.Orientation CLOCKWISE
public static final OutsideLabel.LineLabel.Orientation COUNTERCLOCKWISE
public static final OutsideLabel.LineLabel.Orientation LEFT_TOP
public static final OutsideLabel.LineLabel.Orientation RIGHT_BOTTOM
public static final OutsideLabel.LineLabel.Orientation CENTER
public static final OutsideLabel.LineLabel.Orientation BOTH
public static OutsideLabel.LineLabel.Orientation[] values()
for (OutsideLabel.LineLabel.Orientation c : OutsideLabel.LineLabel.Orientation.values()) System.out.println(c);
public static OutsideLabel.LineLabel.Orientation 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