CarLanesImageRenderer

class CarLanesImageRenderer(    context: Context,     @ColorInt val background: Int = Color.TRANSPARENT,     val options: CarLaneIconOptions = CarLaneIconOptions.Builder().build(context))

This class generates a CarLanesImage needed for the lane guidance in android auto.

Constructors

Link copied to clipboard
fun CarLanesImageRenderer(    context: Context,     @ColorInt background: Int = Color.TRANSPARENT,     options: CarLaneIconOptions = CarLaneIconOptions.Builder().build(context))

Functions

Link copied to clipboard
fun renderLanesImage(lane: Lane?): CarLanesImage?

Create the images needed to show lane guidance.

Properties

Link copied to clipboard
val background: Int
Link copied to clipboard
val options: CarLaneIconOptions