class Builder
Builder class used to create RouteLayerStyle instance.
Builder(color: Int? = null, width: Float = 1.0f, dashList: List<DashDescriptor> = emptyList(), lineCapType: LineCapType = LineCapType.ROUND, lineJoinType: LineJoinType = LineJoinType.ROUND)
Builder class used to create RouteLayerStyle instance. |
fun build(): RouteLayerStyle
Create RouteLayerStyle instance. |
|
fun color(color: Int): RouteLayerStyle.Builder
Set the layer route color. |
|
fun dashList(dashList: List<DashDescriptor>): RouteLayerStyle.Builder
Set dashes and gaps lengths. Lengths are later scaled by the line width. |
|
fun lineCapType(lineCapType: LineCapType): RouteLayerStyle.Builder
Set the display of line endings. |
|
fun lineJoinType(lineJoinType: LineJoinType): RouteLayerStyle.Builder
Set the display of lines when joining. |
|
fun width(width: Float): RouteLayerStyle.Builder
Set the layer route width. |