public static class PolylineOptions.Builder
extends java.lang.Object
Constructor and Description |
---|
Builder() |
Modifier and Type | Method and Description |
---|---|
PolylineOptions |
build()
Builds the PolylineOptions new instance
|
PolylineOptions.Builder |
className(java.lang.String className)
Custom class name set on an element.
|
PolylineOptions.Builder |
clickable(java.lang.Boolean clickable)
If false, the vector will not emit mouse events and will act as a
part of the underlying map.
|
PolylineOptions.Builder |
color(java.lang.String color)
Stroke color.
|
PolylineOptions.Builder |
dashArray(java.lang.String dashArray)
A string that defines the stroke
dash pattern.
|
PolylineOptions.Builder |
fill(java.lang.Boolean fill)
Whether to fill the path with color.
|
PolylineOptions.Builder |
fillColor(java.lang.String fillColor)
Fill color.
|
PolylineOptions.Builder |
fillOpacity(java.lang.Number fillOpacity)
Fill opacity.
|
PolylineOptions.Builder |
fillRule(java.lang.String fillRule)
A string that defines how the inside of a shape is determined.
|
PolylineOptions.Builder |
lineCap(java.lang.String lineCap)
A string that defines
shape to be used at the end of the stroke.
|
PolylineOptions.Builder |
lineJoin(java.lang.String lineJoin)
A string that defines
shape to be used at the corners of the stroke.
|
PolylineOptions.Builder |
opacity(java.lang.Number opacity)
Stroke opacity.
|
PolylineOptions.Builder |
pointerEvents(java.lang.String pointerEvents)
Sets the pointer-events attribute on the path if SVG backend is used.
|
PolylineOptions.Builder |
stroke(java.lang.Boolean stroke)
Whether to draw stroke along the path.
|
PolylineOptions.Builder |
weight(java.lang.Number weight)
Stroke width in pixels.
|
public PolylineOptions.Builder stroke(java.lang.Boolean stroke)
stroke
- the strokepublic PolylineOptions.Builder color(java.lang.String color)
color
- the colorpublic PolylineOptions.Builder weight(java.lang.Number weight)
weight
- the weightpublic PolylineOptions.Builder opacity(java.lang.Number opacity)
opacity
- the opacitypublic PolylineOptions.Builder fill(java.lang.Boolean fill)
fill
- the fillpublic PolylineOptions.Builder fillColor(java.lang.String fillColor)
fillColor
- the fill colorpublic PolylineOptions.Builder fillOpacity(java.lang.Number fillOpacity)
fillOpacity
- the fill opacitypublic PolylineOptions.Builder fillRule(java.lang.String fillRule)
fillRule
- the fill rulepublic PolylineOptions.Builder dashArray(java.lang.String dashArray)
dashArray
- the dash arraypublic PolylineOptions.Builder lineCap(java.lang.String lineCap)
lineCap
- the line cappublic PolylineOptions.Builder lineJoin(java.lang.String lineJoin)
lineJoin
- the line joinpublic PolylineOptions.Builder clickable(java.lang.Boolean clickable)
clickable
- the clickablepublic PolylineOptions.Builder pointerEvents(java.lang.String pointerEvents)
pointerEvents
- the pointer eventspublic PolylineOptions.Builder className(java.lang.String className)
className
- the class namepublic PolylineOptions build()