RoadLabelRenderer

class RoadLabelRenderer(resources: Resources)

This class will a road name and create a bitmap that fits the text.

Constructors

RoadLabelRenderer
Link copied to clipboard
fun RoadLabelRenderer(resources: Resources)

Functions

equals
Link copied to clipboard
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open fun hashCode(): Int
render
Link copied to clipboard
fun render(road: List<RoadComponent>, shields: List<RouteShield>, options: RoadLabelOptions = RoadLabelOptions.default): Bitmap?
Render road and shields to a Bitmap
toString
Link copied to clipboard
open fun toString(): String