| Constructor and Description |
|---|
PolyLineOptions()
Creates a PathOptions object
|
| Modifier and Type | Method and Description |
|---|---|
PolyLineOptions |
setClassName(String className)
Sets className option
|
PolyLineOptions |
setClickable(boolean clickable)
Sets clickable option
|
PolyLineOptions |
setColor(String color)
Sets color option
|
PolyLineOptions |
setDashArray(String dashArray)
Sets dashArray option
|
PolyLineOptions |
setFill(boolean fill)
Sets fill option
|
PolyLineOptions |
setFillColor(String fillColor)
Sets fillColor option
|
PolyLineOptions |
setFillOpacity(double fillOpacity)
Sets fillOpacity option
|
PolyLineOptions |
setLineCap(String lineCap)
Sets lineCap option
|
PolyLineOptions |
setLineJoin(String lineJoin)
Sets lineJoin option
|
PolyLineOptions |
setNoClip(boolean noClip)
Sets noClip option
|
PolyLineOptions |
setOpacity(double opacity)
Sets opacity option
|
PolyLineOptions |
setPointerEvents(String pointerEvents)
Sets pointerEvents option
|
PolyLineOptions |
setSmoothFactor(double smoothFactor)
Sets smoothFactor option
|
PolyLineOptions |
setStroke(boolean stroke)
Sets stroke option
|
PolyLineOptions |
setWeight(int weight)
Sets weight option
|
public PolyLineOptions setSmoothFactor(double smoothFactor)
smoothFactor - How much to simplify the polyline on each zoom level.
More means better performance and smoother look, and less means more
accurate representation.public PolyLineOptions setNoClip(boolean noClip)
noClip - Disable polyline clipping.public PolyLineOptions setStroke(boolean stroke)
stroke - Whether to draw stroke along the path. Set it to
false to disable borders on polygons or circles.public PolyLineOptions setColor(String color)
color - Stroke color.public PolyLineOptions setWeight(int weight)
weight - Stroke width in pixels.public PolyLineOptions setOpacity(double opacity)
opacity - Stroke opacity.public PolyLineOptions setFill(boolean fill)
fill - Whether to fill the path with color. Set it to
false to disable filling on polygons or circles.public PolyLineOptions setFillColor(String fillColor)
fillColor - Fill color.public PolyLineOptions setFillOpacity(double fillOpacity)
fillOpacity - Fill opacity.public PolyLineOptions setDashArray(String dashArray)
dashArray - A string that defines the stroke
dash
pattern. Doesn't work on canvas-powered layers (e.g. Android 2).public PolyLineOptions setLineCap(String lineCap)
lineCap - A string that defines
shape
to be used at the end of the stroke.public PolyLineOptions setLineJoin(String lineJoin)
lineJoin - A string that defines
shape
to be used at the corners of the stroke.public PolyLineOptions setClickable(boolean clickable)
clickable - If false, the vector will not emit mouse
events and will act as a part of the underlying map.public PolyLineOptions setPointerEvents(String pointerEvents)
pointerEvents - Sets the pointer-events attribute on
the path if SVG backend is used.public PolyLineOptions setClassName(String className)
className - Custom class name set on an element.Copyright © 2017. All rights reserved.