Builder

class Builder

Build a new CarRoadLabelOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

Link copied to clipboard
fun backgroundColor(@ColorInt backgroundColor: Int): CarRoadLabelOptions.Builder

The rectangular background color. default is Color.TRANSPARENT

Link copied to clipboard
fun build(): CarRoadLabelOptions
Link copied to clipboard
fun roundedLabelColor(@ColorInt roundedLabelColor: Int): CarRoadLabelOptions.Builder

The color of the rounded label on top of the background.

Link copied to clipboard
fun shadowColor(@ColorInt shadowColor: Int?): CarRoadLabelOptions.Builder

The color of the shadow. The shadow will not show if when null.

Link copied to clipboard
fun textColor(@ColorInt textColor: Int): CarRoadLabelOptions.Builder

The color of the text in the label.