public static class PolylineOptions.Builder extends Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PolylineOptions.Builder |
attribution(String attribution) |
PolylineOptions |
build()
Builds the PolylineOptions new instance
|
PolylineOptions.Builder |
className(String className)
Custom class name set on an element.
|
PolylineOptions.Builder |
color(String color)
Stroke color.
|
PolylineOptions.Builder |
dashArray(String dashArray)
A string that defines the stroke
dash pattern.
|
PolylineOptions.Builder |
dashOffset(String dashOffset) |
PolylineOptions.Builder |
fill(Boolean fill)
Whether to fill the path with color.
|
PolylineOptions.Builder |
fillColor(String fillColor)
Fill color.
|
PolylineOptions.Builder |
fillOpacity(Double fillOpacity)
Fill opacity.
|
PolylineOptions.Builder |
fillRule(String fillRule)
A string that defines how the inside of a shape is determined.
|
PolylineOptions.Builder |
interactive(Boolean interactive) |
PolylineOptions.Builder |
lineCap(String lineCap)
A string that defines
shape to be used at the end of the stroke.
|
PolylineOptions.Builder |
lineJoin(String lineJoin)
A string that defines
shape to be used at the corners of the stroke.
|
PolylineOptions.Builder |
noClip(Boolean noClip)
Disabled polyline clipping.
|
PolylineOptions.Builder |
opacity(Double opacity)
Stroke opacity.
|
PolylineOptions.Builder |
pane(String pane) |
PolylineOptions.Builder |
pointerEvents(String pointerEvents)
Sets the pointer-events attribute on the path if SVG backend is used.
|
PolylineOptions.Builder |
renderer(Renderer renderer) |
PolylineOptions.Builder |
smoothFactor(Double smoothFactor)
How much to simplify the polyline on each zoom level.
|
PolylineOptions.Builder |
stroke(Boolean stroke)
Whether to draw stroke along the path.
|
PolylineOptions.Builder |
weight(Double weight)
Stroke width in pixels.
|
public PolylineOptions.Builder smoothFactor(Double smoothFactor)
smoothFactor
- the smooth factorpublic PolylineOptions.Builder noClip(Boolean noClip)
noClip
- the no clippublic PolylineOptions.Builder stroke(Boolean stroke)
stroke
- the strokepublic PolylineOptions.Builder color(String color)
color
- the colorpublic PolylineOptions.Builder weight(Double weight)
weight
- the weightpublic PolylineOptions.Builder opacity(Double opacity)
opacity
- the opacitypublic PolylineOptions.Builder fill(Boolean fill)
fill
- the fillpublic PolylineOptions.Builder fillColor(String fillColor)
fillColor
- the fill colorpublic PolylineOptions.Builder fillOpacity(Double fillOpacity)
fillOpacity
- the fill opacitypublic PolylineOptions.Builder fillRule(String fillRule)
fillRule
- the fill rulepublic PolylineOptions.Builder dashArray(String dashArray)
dashArray
- the dash arraypublic PolylineOptions.Builder lineCap(String lineCap)
lineCap
- the line cappublic PolylineOptions.Builder lineJoin(String lineJoin)
lineJoin
- the line joinpublic PolylineOptions.Builder pointerEvents(String pointerEvents)
pointerEvents
- the pointer eventspublic PolylineOptions.Builder className(String className)
className
- the class namepublic PolylineOptions.Builder dashOffset(String dashOffset)
public PolylineOptions.Builder renderer(Renderer renderer)
public PolylineOptions.Builder attribution(String attribution)
public PolylineOptions.Builder pane(String pane)
public PolylineOptions.Builder interactive(Boolean interactive)
public PolylineOptions build()
Copyright © 2018 G-Widgets. All rights reserved.