MapMarker.TextStyle.Placement (API Reference)
Package com.here.sdk.mapview
Enum Class MapMarker.TextStyle.Placement
- All Implemented Interfaces:
Serializable,Comparable<MapMarker.TextStyle.Placement>,Constable
- Enclosing class:
- MapMarker.TextStyle
Represents text placement with respect to the icon of a MapMarker.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionText placed below the bottom edge of the image's bounding rectangle.Text placed at the bottom left corner of the image's bounding rectangle.Text placed at the bottom right corner of the image's bounding rectangle.Text placed centered over the image.Text placed next to the left edge of the image's bounding rectangle.Text placed next to the right edge of the image's bounding rectangle.Text placed over the top edge of the image's bounding rectangle.Text placed at the top left corner of the image's bounding rectangle.Text placed at the top right corner of the image's bounding rectangle. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static MapMarker.TextStyle.Placement[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CENTER
Text placed centered over the image.
-
TOP
Text placed over the top edge of the image's bounding rectangle.
-
TOP_RIGHT
Text placed at the top right corner of the image's bounding rectangle.
-
RIGHT
Text placed next to the right edge of the image's bounding rectangle.
-
BOTTOM_RIGHT
Text placed at the bottom right corner of the image's bounding rectangle.
-
BOTTOM
Text placed below the bottom edge of the image's bounding rectangle.
-
BOTTOM_LEFT
Text placed at the bottom left corner of the image's bounding rectangle.
-
LEFT
Text placed next to the left edge of the image's bounding rectangle.
-
TOP_LEFT
Text placed at the top left corner of the image's bounding rectangle.
-
-
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
-