RouteStyleDescriptor

data class RouteStyleDescriptor(routeIdentifier: String, @ColorInt() lineColor: Int, @ColorInt() lineCasingColor: Int)

This class is used for describing the route line color(s) at runtime.

Parameters

routeIdentifier

a string that identifies routes which should have their color overridden

lineColor

the color of the route line

lineCasingColor

the color of the shield line which appears below the route line and is normally wider providing a visual border for the route line.

Constructors

RouteStyleDescriptor
Link copied to clipboard
fun RouteStyleDescriptor(routeIdentifier: String, @ColorInt() lineColor: Int, @ColorInt() lineCasingColor: Int)
a string that identifies routes which should have their color overridden

Functions

component1
Link copied to clipboard
operator fun component1(): String
component2
Link copied to clipboard
operator fun component2(): Int
component3
Link copied to clipboard
operator fun component3(): Int
copy
Link copied to clipboard
fun copy(routeIdentifier: String, @ColorInt() lineColor: Int, @ColorInt() lineCasingColor: Int): RouteStyleDescriptor
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int
toString
Link copied to clipboard
open override fun toString(): String

Properties

lineCasingColor
Link copied to clipboard
val lineCasingColor: Int
the color of the shield line which appears below the route line and is normally wider providing a visual border for the route line.
lineColor
Link copied to clipboard
val lineColor: Int
the color of the route line
routeIdentifier
Link copied to clipboard
val routeIdentifier: String
a string that identifies routes which should have their color overridden