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.

Constructors

Link copied to clipboard
constructor(@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

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

Link copied to clipboard

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