Builder

class Builder

Build a new RoadLabelOptions

Constructors

Link copied to clipboard
fun Builder()

Functions

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

The rectangular background color. default is Color.TRANSPARENT

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

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

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

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

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

The color of the text in the label.