Circle

constructor(center: LatLng, radius: Float, strokeColor: Color = Color.Black, strokeWidth: Float = 10.0f, strokePattern: PathEffect? = null, pattern: List<PatternItem>? = null, strokeCap: StrokeCap = StrokeCap.Round, strokeJoin: StrokeJoin = StrokeJoin.Round, fillColor: Color = Color(red = 128, green = 128, blue = 128, alpha = 128), visible: Boolean = true, clickable: Boolean = false, zIndex: Float = 0.0f, tag: Any? = null)(source)

Parameters

center

the geographic coordinate of the center

radius

the radius in meters, greater than 0

strokeColor

the outline color

strokeWidth

the outline width in pixels

strokePattern

the stroke pattern, e.g. dashed; null for a solid line

pattern

the stroke pattern as dots, dashes and gaps, used instead of strokePattern if not null

strokeCap

the shape of line ends

strokeJoin

the shape of the corners

fillColor

the color of the interior

visible

whether the circle is visible

clickable

whether a tap on the circle is reported to its click listener

zIndex

draw order: circles with a higher zIndex are drawn on top

tag

optional user data