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