Radius

data class Radius(@FloatRange(from = 0.0, fromInclusive = false) val value: Double, val unit: RadiusUnit = DEFAULT_RADIUS_UNIT)

Represents a pair of the radius and the associated unit.

Parameters

value

Radius of the circle overlay. Must be greater than 0.

unit

RadiusUnit related to the radius. Default value is RadiusUnit.Meters.

Constructors

Link copied to clipboard
fun Radius(@FloatRange(from = 0.0, fromInclusive = false) value: Double, unit: RadiusUnit = DEFAULT_RADIUS_UNIT)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard