public enum GridLabelPosition extends Enum<GridLabelPosition>
They can for example be placed at the left or at the right edge of the view. For example, when a label is placed at the west or south side of a line, it will be placed at the left or lower edge of the view when using a rectangular projection like Mercator.
Enum Constant and Description |
---|
EastAndNorth
Places the line label at the east or north side of the parallel or meridian.
|
EastAndSouth
Places the line label at the east or south side of the parallel or meridian.
|
WestAndNorth
Places the line label at the west or north side of the parallel or meridian.
|
WestAndSouth
Places the line label at the west or south side of the parallel or meridian.
|
Modifier and Type | Method and Description |
---|---|
static GridLabelPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GridLabelPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GridLabelPosition EastAndSouth
public static final GridLabelPosition EastAndNorth
public static final GridLabelPosition WestAndSouth
public static final GridLabelPosition WestAndNorth
public static GridLabelPosition[] values()
for (GridLabelPosition c : GridLabelPosition.values()) System.out.println(c);
public static GridLabelPosition 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