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