sdk-maps / com.tomtom.online.sdk.map / RouteStyleBuilder

RouteStyleBuilder

class RouteStyleBuilder

Specifies properties of the route like: width, fillColor, outlineColor and properties related to dash/dotted line.

Functions

build

fun build(): RouteStyle

Constructs a new RouteStyle.

withDashList

fun withDashList(dashList: List<DashDescriptor>): RouteStyleBuilder

withFillColor

fun withFillColor(fillColor: Int): RouteStyleBuilder

withLineCapType

fun withLineCapType(lineCapType: LineCapType): RouteStyleBuilder

withLineJoinType

fun withLineJoinType(lineJoinType: LineJoinType): RouteStyleBuilder

withOutlineColor

fun withOutlineColor(outlineColor: Int): RouteStyleBuilder

withWidth

fun withWidth(width: Double): RouteStyleBuilder

Companion Object Functions

create

fun create(): RouteStyleBuilder

Creates a new RouteStyleBuilder.