public enum LonLatGridLabelPosition extends Enum<LonLatGridLabelPosition>
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 |
---|
AllSides
A label is placed on both ends of the parallel or meridian.
|
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 LonLatGridLabelPosition |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static LonLatGridLabelPosition[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final LonLatGridLabelPosition EastAndSouth
public static final LonLatGridLabelPosition EastAndNorth
public static final LonLatGridLabelPosition WestAndSouth
public static final LonLatGridLabelPosition WestAndNorth
public static final LonLatGridLabelPosition AllSides
public static LonLatGridLabelPosition[] values()
for (LonLatGridLabelPosition c : LonLatGridLabelPosition.values()) System.out.println(c);
public static LonLatGridLabelPosition 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