RouteSection

class RouteSection(val type: RouteSectionType, val indexRange: IntRange, val textureUri: Uri? = null)

Represent the Route section.

Constructors

Link copied to clipboard
constructor(type: RouteSectionType, indexRange: IntRange, textureUri: Uri? = null)

Create a new instance of the route section.\

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String

Properties

Link copied to clipboard

The range of indexes in a RouteOptions.geometry covered by this section.

Link copied to clipboard
val textureUri: Uri? = null

The URI of the texture. The protocol should be one of "asset" or "file".
Can also reset texture for particular segments when empty string provided.

Link copied to clipboard

The type for the section.