public class GeoJsonLineStringStyle extends Style
mMarkerOptions, mPolygonOptions, mPolylineOptions
Constructor and Description |
---|
GeoJsonLineStringStyle()
Creates a new LineStringStyle object
|
Modifier and Type | Method and Description |
---|---|
int |
getColor()
Gets the color of the GeoJsonLineString as a 32-bit ARGB color
|
java.lang.String[] |
getGeometryType()
Gets the type of geometries this style can be applied to
|
java.util.List<PatternItem> |
getPattern()
Gets the pattern of the GeoJsonLineString
|
float |
getWidth()
Gets the width of the GeoJsonLineString in screen pixels
|
float |
getZIndex()
Gets the z index of the GeoJsonLineString
|
boolean |
isClickable()
Gets the clickability setting for this Options object
|
boolean |
isGeodesic()
Gets whether the GeoJsonLineString is geodesic
|
boolean |
isVisible()
Gets whether the GeoJsonLineString is visible
|
void |
setClickable(boolean clickable)
Specifies whether this GeoJsonLineString is clickable
|
void |
setColor(int color)
Sets the color of the GeoJsonLineString as a 32-bit ARGB color
|
void |
setGeodesic(boolean geodesic)
Sets whether the GeoJsonLineString is geodesic
|
void |
setPattern(java.util.List<PatternItem> pattern)
Sets the pattern of the GeoJsonLineString
|
void |
setVisible(boolean visible)
Sets whether the GeoJsonLineString is visible
|
void |
setWidth(float width)
Sets the width of the GeoJsonLineString in screen pixels
|
void |
setZIndex(float zIndex)
Sets the z index of the GeoJsonLineString
|
PolylineOptions |
toPolylineOptions()
Gets a new PolylineOptions object containing styles for the GeoJsonLineString
|
java.lang.String |
toString() |
getRotation, setLineStringWidth, setMarkerHotSpot, setMarkerRotation, setPolygonFillColor, setPolygonStrokeWidth
public GeoJsonLineStringStyle()
public java.lang.String[] getGeometryType()
public int getColor()
public void setColor(int color)
color
- color value of the GeoJsonLineStringpublic boolean isClickable()
public void setClickable(boolean clickable)
clickable
- - new clickability setting for the GeoJsonLineStringpublic boolean isGeodesic()
public void setGeodesic(boolean geodesic)
geodesic
- true if GeoJsonLineString is geodesic, false otherwisepublic float getWidth()
public void setWidth(float width)
width
- width value of the GeoJsonLineStringpublic float getZIndex()
public void setZIndex(float zIndex)
zIndex
- z index value of the GeoJsonLineStringpublic boolean isVisible()
public void setVisible(boolean visible)
visible
- true if the GeoJsonLineString is visible, false if not visiblepublic PolylineOptions toPolylineOptions()
public java.lang.String toString()
toString
in class java.lang.Object
public java.util.List<PatternItem> getPattern()
public void setPattern(java.util.List<PatternItem> pattern)
pattern
- line style of GeoJsonLineString