public class RouteStyleBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
RouteStyle |
build() |
static RouteStyleBuilder |
create() |
RouteStyleBuilder |
withFillColor(java.lang.Integer fillColor) |
RouteStyleBuilder |
withOutlineColor(java.lang.Integer outlineColor) |
RouteStyleBuilder |
withWidth(java.lang.Double width) |
public RouteStyleBuilder withWidth(java.lang.Double width)
width - specifies the width of the route as multiplication of the standard route's width in example 2.0 means that the route will be 2x as wide as default route.public RouteStyleBuilder withFillColor(java.lang.Integer fillColor)
fillColor - fill color of the route. Default value is DEFAULT_ROUTE_FILL_COLOR.public RouteStyleBuilder withOutlineColor(java.lang.Integer outlineColor)
outlineColor - outline color of the route. Default value is DEFAULT_ROUTE_OUTLINE_COLOR.public static RouteStyleBuilder create()
public RouteStyle build()