Width

data class Width(@FloatRange(from = 0.0, fromInclusive = false) val value: Double = DEFAULT_BOUNDARY_WIDTH, val unit: WidthUnit = DEFAULT_BOUNDARY_WIDTH_UNIT)

Represents a pair of the width and the associated unit.

Parameters

value

Width of LaneBoundary.

unit

WidthUnit related to the width. Default value is WidthUnit.Meters.

Constructors

Link copied to clipboard
fun Width(@FloatRange(from = 0.0, fromInclusive = false) value: Double = DEFAULT_BOUNDARY_WIDTH, unit: WidthUnit = DEFAULT_BOUNDARY_WIDTH_UNIT)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
Link copied to clipboard