class DJICircle
Package: | com.dji.mapkit.core.models.annotations |
Description:
A circle that exists on a map object. To add a new circle to a map, see DJICircleOptions
.
Class Members:
method remove
Package: | com.dji.mapkit.core.models.annotations |
Description:
Removes the circle from the map it is on.
method setVisible
void setVisible(boolean visible)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Changes the visibility of the circle.
boolean visible | true if the circle is visible, false if it is hidden. |
method isVisible
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the visibility of the circle.
Return:
boolean | true if the circle is visible, false if it is hidden. |
method setCenter
void setCenter(DJILatLng center)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the center of the circle.
DJILatLng center | The coordinates of the center of the circle. |
method getCenter
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the center of the circle.
Return:
DJILatLng | The coordinates of the center of the circle. |
method setRadius
void setRadius(double radius)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the radius of the circle.
double radius | The radius of the circle. |
method getRadius
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the radius of the circle.
Return:
double | The radius of the circle. |
method setFillColor
void setFillColor(@ColorInt int color)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the fill color of the circle.
@ColorInt int color | The fill color of the circle. |
method getFillColor
@ColorInt int getFillColor()
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
The fill color of the circle.
Return:
int | The fill color of the circle. |
method setStrokeColor
void setStrokeColor(@ColorInt int color)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the stroke color of the circle.
@ColorInt int color | The stroke color of the circle. |
method getStrokeColor
@ColorInt int getStrokeColor()
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the stroke color of the circle.
Return:
int | The stroke color of the circle. |
method setStrokeWidth
void setStrokeWidth(float strokeWidth)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the stroke width of the circle.
float strokeWidth | The stroke width of the circle. |
method getStrokeWidth
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the stroke width of the circle.
Return:
float | The stroke width of the circle. |
method setZIndex
void setZIndex(float zIndex)
|
Package: | com.dji.mapkit.core.models.annotations |
Description:
Sets the zIndex of the circle.
float zIndex | The zIndex of the circle. |
method getZIndex
Package: | com.dji.mapkit.core.models.annotations |
Description:
Gets the zIndex of the circle.
Return:
float | The zIndex of the circle. |