class DJICircleOptions
Package: com.dji.mapkit.core.models.annotations
Description:
Represents a set of instructions for creating a new DJICircle
. This object can be passed to DJICircleOptions
to add a new circle to a map. Each method returns the object itself so that they can be used in a builder pattern.
Class Members:
method center
DJICircleOptions center (DJILatLng center)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the center the new circle will have when added to the map.
DJILatLng center The coordinates of the center of the circle
Return:
method radius
DJICircleOptions radius (double radius)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the radius the new circle will have when added to the map.
double radius The radius of the circle in meters.
Return:
method zIndex
DJICircleOptions zIndex (float zIndex)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the zIndex the new circle will have when added to the map.
float zIndex The zIndex of the circle.
Return:
method strokeWidth
DJICircleOptions strokeWidth (float width)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the stroke width the new circle will have when added to the map.
float width The stroke width of the circle in pixels.
Return:
method strokeColor
DJICircleOptions strokeColor (@ColorInt int color)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the stroke color the new circle will have when added to the map.
@ColorInt int color The stroke color of the circle.
Return:
method fillColor
DJICircleOptions fillColor (@ColorInt int color)
Package: com.dji.mapkit.core.models.annotations
Description:
Sets the fill color the new circle will have when added to the map.
@ColorInt int color The fill color of the circle.
Return: