RouteStyleDescriptor

data class RouteStyleDescriptor(routeIdentifier: String, lineColorResourceId: Int, lineShieldColorResourceId: 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

lineColorResourceId

the color of the route line

lineShieldColorResourceId

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, lineColorResourceId: Int, lineShieldColorResourceId: 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, lineColorResourceId: Int, lineShieldColorResourceId: 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

lineColorResourceId
Link copied to clipboard
val lineColorResourceId: Int
the color of the route line
lineShieldColorResourceId
Link copied to clipboard
val lineShieldColorResourceId: 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.
routeIdentifier
Link copied to clipboard
val routeIdentifier: String
a string that identifies routes which should have their color overridden