public class GeoJsonPolygonStyle extends Style
mMarkerOptions, mPolygonOptions, mPolylineOptions
Constructor and Description |
---|
GeoJsonPolygonStyle()
Creates a new PolygonStyle object
|
Modifier and Type | Method and Description |
---|---|
int |
getFillColor()
Gets the fill color of the GeoJsonPolygon as a 32-bit ARGB color
|
java.lang.String[] |
getGeometryType()
Gets the type of geometries this style can be applied to
|
int |
getStrokeColor()
Gets the stroke color of the GeoJsonPolygon as a 32-bit ARGB color
|
float |
getStrokeWidth()
Gets the stroke width of the GeoJsonPolygon in screen pixels
|
float |
getZIndex()
Gets the z index of the GeoJsonPolygon
|
boolean |
isClickable()
Gets the clickability setting for this Options object
|
boolean |
isGeodesic()
Gets whether the GeoJsonPolygon is geodesic
|
boolean |
isVisible()
Gets whether the GeoJsonPolygon is visible
|
void |
setClickable(boolean clickable)
Specifies whether this GeoJsonPolygon is clickable
|
void |
setFillColor(int fillColor)
Sets the fill color of the GeoJsonPolygon as a 32-bit ARGB color
|
void |
setGeodesic(boolean geodesic)
Sets whether the GeoJsonPolygon is geodesic
|
void |
setStrokeColor(int strokeColor)
Sets the stroke color of the GeoJsonPolygon as a 32-bit ARGB color
|
void |
setStrokeWidth(float strokeWidth)
Sets the stroke width of the GeoJsonPolygon in screen pixels
|
void |
setVisible(boolean visible)
Sets whether the GeoJsonPolygon is visible
|
void |
setZIndex(float zIndex)
Sets the z index of the GeoJsonPolygon
|
PolygonOptions |
toPolygonOptions()
Gets a new PolygonOptions object containing styles for the GeoJsonPolygon
|
java.lang.String |
toString() |
getRotation, setLineStringWidth, setMarkerHotSpot, setMarkerRotation, setPolygonFillColor, setPolygonStrokeWidth
public GeoJsonPolygonStyle()
public java.lang.String[] getGeometryType()
public int getFillColor()
public void setFillColor(int fillColor)
fillColor
- fill color value of the GeoJsonPolygonpublic boolean isGeodesic()
public void setGeodesic(boolean geodesic)
geodesic
- true if GeoJsonPolygon is geodesic, false if not geodesicpublic int getStrokeColor()
public void setStrokeColor(int strokeColor)
strokeColor
- stroke color value of the GeoJsonPolygonpublic float getStrokeWidth()
public void setStrokeWidth(float strokeWidth)
strokeWidth
- stroke width value of the GeoJsonPolygonpublic float getZIndex()
public void setZIndex(float zIndex)
zIndex
- z index value of the GeoJsonPolygonpublic boolean isVisible()
public void setVisible(boolean visible)
visible
- true if GeoJsonPolygon is visible, false if not visiblepublic PolygonOptions toPolygonOptions()
public java.lang.String toString()
toString
in class java.lang.Object
public void setClickable(boolean clickable)
clickable
- - new clickability setting for the GeoJsonPolygonpublic boolean isClickable()