-
@UiThread() public class Circle extends Annotation<Point>
-
-
Method Summary
Modifier and Type Method Description voidsetLatLng(LatLng latLng)Set the LatLng of the circle, which represents the location of the circle on the mapTo update the circle on the map use update. LatLnggetLatLng()Get the LatLng of the circle, which represents the location of the circle on the map FloatgetCircleRadius()Get the CircleRadius propertyCircle radius. voidsetCircleRadius(Float value)Set the CircleRadius propertyCircle radius. intgetCircleColorAsInt()Get the CircleColor propertyThe fill color of the circle. StringgetCircleColor()Get the CircleColor propertyThe fill color of the circle. voidsetCircleColor(@ColorInt() int color)Set the CircleColor propertyThe fill color of the circle. voidsetCircleColor(@NonNull() String color)Set the CircleColor propertyThe fill color of the circle. FloatgetCircleBlur()Get the CircleBlur propertyAmount to blur the circle. voidsetCircleBlur(Float value)Set the CircleBlur propertyAmount to blur the circle. FloatgetCircleOpacity()Get the CircleOpacity propertyThe opacity at which the circle will be drawn. voidsetCircleOpacity(Float value)Set the CircleOpacity propertyThe opacity at which the circle will be drawn. FloatgetCircleStrokeWidth()Get the CircleStrokeWidth propertyThe width of the circle's stroke. voidsetCircleStrokeWidth(Float value)Set the CircleStrokeWidth propertyThe width of the circle's stroke. intgetCircleStrokeColorAsInt()Get the CircleStrokeColor propertyThe stroke color of the circle. StringgetCircleStrokeColor()Get the CircleStrokeColor propertyThe stroke color of the circle. voidsetCircleStrokeColor(@ColorInt() int color)Set the CircleStrokeColor propertyThe stroke color of the circle. voidsetCircleStrokeColor(@NonNull() String color)Set the CircleStrokeColor propertyThe stroke color of the circle. FloatgetCircleStrokeOpacity()Get the CircleStrokeOpacity propertyThe opacity of the circle's stroke. voidsetCircleStrokeOpacity(Float value)Set the CircleStrokeOpacity propertyThe opacity of the circle's stroke. -
Methods inherited from class org.maplibre.android.plugins.annotation.Annotation
equals, getData, getGeometry, getId, hashCode, isDraggable, setData, setDraggable, setGeometry, toString -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
setLatLng
void setLatLng(LatLng latLng)
Set the LatLng of the circle, which represents the location of the circle on the map
To update the circle on the map use update.
- Parameters:
latLng- the location of the circle in a latitude and longitude pair
-
getLatLng
@NonNull() LatLng getLatLng()
Get the LatLng of the circle, which represents the location of the circle on the map
-
getCircleRadius
Float getCircleRadius()
Get the CircleRadius property
Circle radius.
-
setCircleRadius
void setCircleRadius(Float value)
Set the CircleRadius property
Circle radius.
To update the circle on the map use update.
- Parameters:
value- constant property value for Float
-
getCircleColorAsInt
@ColorInt() int getCircleColorAsInt()
Get the CircleColor property
The fill color of the circle.
-
getCircleColor
String getCircleColor()
Get the CircleColor property
The fill color of the circle.
-
setCircleColor
void setCircleColor(@ColorInt() int color)
Set the CircleColor property
The fill color of the circle.
To update the circle on the map use update.
- Parameters:
color- value for String
-
setCircleColor
void setCircleColor(@NonNull() String color)
Set the CircleColor property
The fill color of the circle.
To update the circle on the map use update.
- Parameters:
color- value for String
-
getCircleBlur
Float getCircleBlur()
Get the CircleBlur property
Amount to blur the circle. 1 blurs the circle such that only the centerpoint is full opacity.
-
setCircleBlur
void setCircleBlur(Float value)
Set the CircleBlur property
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 update.
- Parameters:
value- constant property value for Float
-
getCircleOpacity
Float getCircleOpacity()
Get the CircleOpacity property
The opacity at which the circle will be drawn.
-
setCircleOpacity
void setCircleOpacity(Float value)
Set the CircleOpacity property
The opacity at which the circle will be drawn.
To update the circle on the map use update.
- Parameters:
value- constant property value for Float
-
getCircleStrokeWidth
Float getCircleStrokeWidth()
Get the CircleStrokeWidth property
The width of the circle's stroke. Strokes are placed outside of the circleRadius.
-
setCircleStrokeWidth
void setCircleStrokeWidth(Float value)
Set the CircleStrokeWidth property
The width of the circle's stroke. Strokes are placed outside of the circleRadius.
To update the circle on the map use update.
- Parameters:
value- constant property value for Float
-
getCircleStrokeColorAsInt
@ColorInt() int getCircleStrokeColorAsInt()
Get the CircleStrokeColor property
The stroke color of the circle.
-
getCircleStrokeColor
String getCircleStrokeColor()
Get the CircleStrokeColor property
The stroke color of the circle.
-
setCircleStrokeColor
void setCircleStrokeColor(@ColorInt() int color)
Set the CircleStrokeColor property
The stroke color of the circle.
To update the circle on the map use update.
- Parameters:
color- value for String
-
setCircleStrokeColor
void setCircleStrokeColor(@NonNull() String color)
Set the CircleStrokeColor property
The stroke color of the circle.
To update the circle on the map use update.
- Parameters:
color- value for String
-
getCircleStrokeOpacity
Float getCircleStrokeOpacity()
Get the CircleStrokeOpacity property
The opacity of the circle's stroke.
-
setCircleStrokeOpacity
void setCircleStrokeOpacity(Float value)
Set the CircleStrokeOpacity property
The opacity of the circle's stroke.
To update the circle on the map use update.
- Parameters:
value- constant property value for Float
-
-
-
-