public abstract class Style
extends java.util.Observable
KmlStyle
,
GeoJsonPointStyle
,
GeoJsonLineStringStyle
and GeoJsonPolygonStyle
Modifier and Type | Field and Description |
---|---|
protected MarkerOptions |
mMarkerOptions |
protected PolygonOptions |
mPolygonOptions |
protected PolylineOptions |
mPolylineOptions |
Constructor and Description |
---|
Style()
Creates a new Style object
|
Modifier and Type | Method and Description |
---|---|
float |
getRotation()
Gets the rotation of a marker in degrees clockwise about the marker's anchor
|
void |
setLineStringWidth(float width)
Sets the width of the LineString in screen pixels
|
void |
setMarkerHotSpot(float x,
float y,
java.lang.String xUnits,
java.lang.String yUnits)
Sets the hotspot / anchor point of a marker
|
void |
setMarkerRotation(float rotation)
Sets the rotation / heading of the Point in degrees clockwise about the marker's anchor
|
void |
setPolygonFillColor(int fillColor)
Sets the fill color of the Polygon as a 32-bit ARGB color
|
void |
setPolygonStrokeWidth(float strokeWidth)
Sets the stroke width of the Polygon in screen pixels
|
protected MarkerOptions mMarkerOptions
protected PolylineOptions mPolylineOptions
protected PolygonOptions mPolygonOptions
public float getRotation()
public void setMarkerRotation(float rotation)
rotation
- Decimal representation of the rotation value of the Pointpublic void setMarkerHotSpot(float x, float y, java.lang.String xUnits, java.lang.String yUnits)
x
- x point of a marker positiony
- y point of a marker positionxUnits
- units in which the x value is specifiedyUnits
- units in which the y value is specifiedpublic void setLineStringWidth(float width)
width
- width value of the LineStringpublic void setPolygonStrokeWidth(float strokeWidth)
strokeWidth
- stroke width value of the Polygonpublic void setPolygonFillColor(int fillColor)
fillColor
- fill color value of the Polygon