CircleOptions

Builder class for creating Circle instances with a fluent API. Matches the Google Maps API pattern for circle configuration.

Example usage:

val circle = CircleOptions()
.center(LatLng(40.7128, -74.0060))
.radius(1000f)
.strokeColor(Color.Red)
.fillColor(Color(red = 255, green = 0, blue = 0, alpha = 128))
.clickable(true)

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard

Sets the center point of the circle.

Link copied to clipboard

Sets whether the circle is clickable.

Link copied to clipboard

Sets the fill color of the circle interior.

Link copied to clipboard
fun radius(radius: Float): CircleOptions

Sets the radius of the circle in meters.

Link copied to clipboard

Sets the stroke cap style for line endpoints.

Link copied to clipboard

Sets the stroke color of the circle outline.

Link copied to clipboard

Sets the stroke join style for line corners.

Link copied to clipboard

Sets the stroke pattern of the circle outline (dashed, dotted, etc.).

Link copied to clipboard

Sets the stroke width of the circle outline in pixels.

Link copied to clipboard
fun tag(tag: Any?): CircleOptions

Sets optional user data associated with the circle.

Link copied to clipboard

Sets whether the circle is visible.

Link copied to clipboard
fun zIndex(zIndex: Float): CircleOptions

Sets the z-index for draw order.