public class Circle extends Annotation<Point>
geometry, jsonObject| Modifier and Type | Method and Description |
|---|---|
java.lang.Float |
getCircleBlur()
Get the CircleBlur property
|
java.lang.String |
getCircleColor()
Get the CircleColor property
|
int |
getCircleColorAsInt()
Get the CircleColor property
|
java.lang.Float |
getCircleOpacity()
Get the CircleOpacity property
|
java.lang.Float |
getCircleRadius()
Get the CircleRadius property
|
java.lang.String |
getCircleStrokeColor()
Get the CircleStrokeColor property
|
int |
getCircleStrokeColorAsInt()
Get the CircleStrokeColor property
|
java.lang.Float |
getCircleStrokeOpacity()
Get the CircleStrokeOpacity property
|
java.lang.Float |
getCircleStrokeWidth()
Get the CircleStrokeWidth property
|
LatLng |
getLatLng()
Get the LatLng of the circle, which represents the location of the circle on the map
|
void |
setCircleBlur(java.lang.Float value)
Set the CircleBlur property
|
void |
setCircleColor(int color)
Set the CircleColor property
|
void |
setCircleColor(java.lang.String color)
Set the CircleColor property
|
void |
setCircleOpacity(java.lang.Float value)
Set the CircleOpacity property
|
void |
setCircleRadius(java.lang.Float value)
Set the CircleRadius property
|
void |
setCircleStrokeColor(int color)
Set the CircleStrokeColor property
|
void |
setCircleStrokeColor(java.lang.String color)
Set the CircleStrokeColor property
|
void |
setCircleStrokeOpacity(java.lang.Float value)
Set the CircleStrokeOpacity property
|
void |
setCircleStrokeWidth(java.lang.Float value)
Set the CircleStrokeWidth property
|
void |
setLatLng(LatLng latLng)
Set the LatLng of the circle, which represents the location of the circle on the map
|
equals, getData, getGeometry, getId, hashCode, isDraggable, setData, setDraggable, setGeometry, toStringpublic void setLatLng(LatLng latLng)
To update the circle on the map use AnnotationManager.update(Annotation).
latLng - the location of the circle in a latitude and longitude pairpublic LatLng getLatLng()
public java.lang.Float getCircleRadius()
Circle radius.
public void setCircleRadius(java.lang.Float value)
Circle radius.
To update the circle on the map use AnnotationManager.update(Annotation).
value - constant property value for Floatpublic int getCircleColorAsInt()
The fill color of the circle.
public java.lang.String getCircleColor()
The fill color of the circle.
public void setCircleColor(int color)
The fill color of the circle.
To update the circle on the map use AnnotationManager.update(Annotation).
color - value for Stringpublic void setCircleColor(java.lang.String color)
The fill color of the circle.
To update the circle on the map use AnnotationManager.update(Annotation).
color - value for Stringpublic java.lang.Float getCircleBlur()
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
public void setCircleBlur(java.lang.Float value)
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
To update the circle on the map use AnnotationManager.update(Annotation).
value - constant property value for Floatpublic java.lang.Float getCircleOpacity()
The opacity at which the circle will be drawn.
public void setCircleOpacity(java.lang.Float value)
The opacity at which the circle will be drawn.
To update the circle on the map use AnnotationManager.update(Annotation).
value - constant property value for Floatpublic java.lang.Float getCircleStrokeWidth()
The width of the circle's stroke. Strokes are placed outside of the PropertyFactory#circleRadius.
public void setCircleStrokeWidth(java.lang.Float value)
The width of the circle's stroke. Strokes are placed outside of the PropertyFactory#circleRadius.
To update the circle on the map use AnnotationManager.update(Annotation).
value - constant property value for Floatpublic int getCircleStrokeColorAsInt()
The stroke color of the circle.
public java.lang.String getCircleStrokeColor()
The stroke color of the circle.
public void setCircleStrokeColor(int color)
The stroke color of the circle.
To update the circle on the map use AnnotationManager.update(Annotation).
color - value for Stringpublic void setCircleStrokeColor(java.lang.String color)
The stroke color of the circle.
To update the circle on the map use AnnotationManager.update(Annotation).
color - value for Stringpublic java.lang.Float getCircleStrokeOpacity()
The opacity of the circle's stroke.
public void setCircleStrokeOpacity(java.lang.Float value)
The opacity of the circle's stroke.
To update the circle on the map use AnnotationManager.update(Annotation).
value - constant property value for Float© 2015–2019 Mapbox. All rights reserved.