public class RouteStyleBuilder
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
RouteStyle |
build() |
static RouteStyleBuilder |
create() |
RouteStyleBuilder |
withDashList(java.util.List<DashDescriptor> dashList) |
RouteStyleBuilder |
withFillColor(java.lang.Integer fillColor) |
RouteStyleBuilder |
withLineCapType(LineCapType lineCapType) |
RouteStyleBuilder |
withLineJoinType(LineJoinType lineJoinType) |
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 RouteStyleBuilder withDashList(java.util.List<DashDescriptor> dashList)
dashList - specifies dashes and gaps lengths. Lengths are later scaled by the line widthpublic RouteStyleBuilder withLineCapType(LineCapType lineCapType)
lineCapType - specifies the type of line ending.public RouteStyleBuilder withLineJoinType(LineJoinType lineJoinType)
lineJoinType - specifies the type of join.public static RouteStyleBuilder create()
public RouteStyle build()