Circle Options
Builder class for creating Circle instances with a fluent API. A builder 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)Functions
Sets the center point of the circle.
Sets whether the circle is clickable.
Sets the fill color of the circle interior.
Sets the fill color of the circle interior as an ARGB color int. Use this overload from Java, e.g. with android.graphics.Color.RED or 0x800000FF.
Sets the stroke pattern as dots, dashes and gaps, e.g. listOf(Dot(), Gap(20f)). It is used instead of a strokePattern if not null.
Sets the radius of the circle in meters.
Sets the stroke cap style for line endpoints.
Sets the shape of line ends, e.g. strokeCap(new RoundCap()) from Java.
Sets the stroke color of the circle outline.
Sets the stroke color of the circle outline as an ARGB color int. Use this overload from Java, e.g. with android.graphics.Color.RED or 0x800000FF.
Sets the stroke join style for line corners.
Sets the shape of the corners from a JointType constant, e.g. strokeJointType(JointType.ROUND).
Sets the stroke pattern from an android.graphics.PathEffect, e.g. a DashPathEffect from Java.
Sets the stroke pattern of the circle outline (dashed, dotted, etc.).
Sets the stroke pattern as dots, dashes and gaps, like strokePattern(List) of the Maps SDK.
Sets the stroke width of the circle outline in pixels.
Sets optional user data associated with the circle.
Sets whether the circle is visible.
Sets the z-index for draw order.