Module com.esri.arcgisruntime
Enum Class Grid.LabelPosition
- All Implemented Interfaces:
Serializable
,Comparable<Grid.LabelPosition>
,Constable
- Enclosing class:
Grid
Represents options for positioning grid labels on the MapView.
GEOGRAPHIC positioning means labels are anchored to a geographical position on the map, whereas the remaining enum values are screen-positioned, with the labels anchored relative to the edge of the map.
- Since:
- 100.0.0
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionLabels along x-axis are anchored to the top and bottom side of the MapView, while labels along y-axis are anchored to left and right side of the MapView.Labels along x-axis are anchored to the bottom side of the MapView and labels along y-axis are anchored to left side of the MapView.Labels along x-axis are anchored to the bottom side of the MapView and labels along y-axis are anchored to right side of the MapView.Labels along x-axis and y-axis are anchored to center of MapView.Labels are anchored to a geographical position on the MapView.Labels along x-axis are anchored to the top side of the MapView and labels along y-axis are anchored to left side of the MapView.Labels along x-axis are anchored to the top side of the MapView and labels along y-axis are anchored to right side of the map MapView. -
Method Summary
Modifier and TypeMethodDescriptionstatic Grid.LabelPosition
Returns the enum constant of this class with the specified name.static Grid.LabelPosition[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
GEOGRAPHIC
Labels are anchored to a geographical position on the MapView.Default labeling position for all grid types.
- Since:
- 100.0.0
-
BOTTOM_LEFT
Labels along x-axis are anchored to the bottom side of the MapView and labels along y-axis are anchored to left side of the MapView.- Since:
- 100.0.0
-
TOP_LEFT
Labels along x-axis are anchored to the top side of the MapView and labels along y-axis are anchored to left side of the MapView.- Since:
- 100.0.0
-
BOTTOM_RIGHT
Labels along x-axis are anchored to the bottom side of the MapView and labels along y-axis are anchored to right side of the MapView.- Since:
- 100.0.0
-
TOP_RIGHT
Labels along x-axis are anchored to the top side of the MapView and labels along y-axis are anchored to right side of the map MapView.- Since:
- 100.0.0
-
CENTER
Labels along x-axis and y-axis are anchored to center of MapView.- Since:
- 100.0.0
-
ALL_SIDES
Labels along x-axis are anchored to the top and bottom side of the MapView, while labels along y-axis are anchored to left and right side of the MapView.- Since:
- 100.0.0
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-