public enum MarkerAnchor extends java.lang.Enum<MarkerAnchor> implements java.io.Serializable
Enum Constant and Description |
---|
Bottom
Value of(0,-1).
|
BottomLeft
Value of(-0.5,-1).
|
BottomRight
Value of(0.5,-1).
|
Center
Value of(0,-0.5).
|
Left
Value of(-0.5,-0.5).
|
Right
Value of(0.5,-0.5).
|
Top
Value of(0, 0).
|
TopLeft
Value of(-0.5, 0).
|
TopRight
Value of(0.5,0).
|
Modifier and Type | Field and Description |
---|---|
float |
xIconOffset
Defines the icon offset in the x axis.
|
float |
yIconOffset
Defines the icon offset in the y axis.
|
Modifier and Type | Method and Description |
---|---|
static MarkerAnchor |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static MarkerAnchor[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MarkerAnchor Center
public static final MarkerAnchor Left
public static final MarkerAnchor Right
public static final MarkerAnchor Top
public static final MarkerAnchor Bottom
public static final MarkerAnchor TopLeft
public static final MarkerAnchor TopRight
public static final MarkerAnchor BottomLeft
public static final MarkerAnchor BottomRight
public float xIconOffset
public float yIconOffset
public static MarkerAnchor[] values()
for (MarkerAnchor c : MarkerAnchor.values()) System.out.println(c);
public static MarkerAnchor valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null