Enum MapMarker.TextStyle.Placement
Package com.here.sdk.mapview
Enum MapMarker.TextStyle.Placement
- java.lang.Object
-
- java.lang.Enum<MapMarker.TextStyle.Placement>
-
- com.here.sdk.mapview.MapMarker.TextStyle.Placement
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<MapMarker.TextStyle.Placement>
- Enclosing class:
- MapMarker.TextStyle
public static enum MapMarker.TextStyle.Placement extends java.lang.Enum<MapMarker.TextStyle.Placement>
Represents text placement with respect to the icon of a
MapMarker.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOTTOMText placed below the bottom edge of the image's bounding rectangle.BOTTOM_LEFTText placed at the bottom left corner of the image's bounding rectangle.BOTTOM_RIGHTText placed at the bottom right corner of the image's bounding rectangle.CENTERText placed centered over the image.LEFTText placed next to the left edge of the image's bounding rectangle.RIGHTText placed next to the right edge of the image's bounding rectangle.TOPText placed over the top edge of the image's bounding rectangle.TOP_LEFTText placed at the top left corner of the image's bounding rectangle.TOP_RIGHTText placed at the top right corner of the image's bounding rectangle.
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static MapMarker.TextStyle.PlacementvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static MapMarker.TextStyle.Placement[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENTER
public static final MapMarker.TextStyle.Placement CENTER
Text placed centered over the image.
-
TOP
public static final MapMarker.TextStyle.Placement TOP
Text placed over the top edge of the image's bounding rectangle.
-
TOP_RIGHT
public static final MapMarker.TextStyle.Placement TOP_RIGHT
Text placed at the top right corner of the image's bounding rectangle.
-
RIGHT
public static final MapMarker.TextStyle.Placement RIGHT
Text placed next to the right edge of the image's bounding rectangle.
-
BOTTOM_RIGHT
public static final MapMarker.TextStyle.Placement BOTTOM_RIGHT
Text placed at the bottom right corner of the image's bounding rectangle.
-
BOTTOM
public static final MapMarker.TextStyle.Placement BOTTOM
Text placed below the bottom edge of the image's bounding rectangle.
-
BOTTOM_LEFT
public static final MapMarker.TextStyle.Placement BOTTOM_LEFT
Text placed at the bottom left corner of the image's bounding rectangle.
-
LEFT
public static final MapMarker.TextStyle.Placement LEFT
Text placed next to the left edge of the image's bounding rectangle.
-
TOP_LEFT
public static final MapMarker.TextStyle.Placement TOP_LEFT
Text placed at the top left corner of the image's bounding rectangle.
-
-
Method Detail
-
values
public static MapMarker.TextStyle.Placement[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (MapMarker.TextStyle.Placement c : MapMarker.TextStyle.Placement.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static MapMarker.TextStyle.Placement valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
-