Path Builder
Builder for SVG path (<path>) element with path data DSL. This class provides methods to construct complex path data using a fluent API.
Functions
Adds a relative elliptical arc command (a) to the path, which draws an arc to the specified relative coordinates.
Adds a "close path" command (Z) to the path, which closes the current subpath by drawing a straight line back to the start point.
Adds a relative cubic Bezier curve command (c) to the path, which draws a curve to the specified relative coordinates using two control points.
Sets the fill-opacity attribute of the SVG element.
Adds a "horizontal line to" command (H) to the path, which draws a horizontal line to the specified absolute x-coordinate.
Adds a relative "horizontal line to" command (h) to the path, which draws a horizontal line to the specified relative x-offset.
Adds a "line to" command (L) to the path, which draws a straight line to the specified absolute coordinates.
Adds a relative "line to" command (l) to the path, which draws a straight line to the specified relative coordinates.
Adds a "move to" command (M) to the path, which moves the pen to the specified absolute coordinates.
Adds a relative "move to" command (m) to the path, which moves the pen to the specified relative coordinates.
Adds a quadratic Bezier curve command (Q) to the path, which draws a curve to the specified absolute coordinates using one control point.
Adds a relative quadratic Bezier curve command (q) to the path, which draws a curve to the specified relative coordinates using one control point.
Adds a smooth cubic Bezier curve command (S) to the path, which draws a curve to the specified absolute coordinates using one control point.
Adds a relative smooth cubic Bezier curve command (s) to the path, which draws a curve to the specified relative coordinates using one control point.
Adds a smooth quadratic Bezier curve command (T) to the path, which draws a curve to the specified absolute coordinates.
Adds a relative smooth quadratic Bezier curve command (t) to the path, which draws a curve to the specified relative coordinates.
Sets the stroke-dasharray attribute of the SVG element.
Sets the stroke-dashoffset attribute of the SVG element.
Sets the stroke-linecap attribute of the SVG element.
Sets the stroke-linejoin attribute of the SVG element.
Sets the stroke-opacity attribute of the SVG element.
Sets the stroke-width attribute of the SVG element.
Adds a "vertical line to" command (V) to the path, which draws a vertical line to the specified absolute y-coordinate.
Adds a relative "vertical line to" command (v) to the path, which draws a vertical line to the specified relative y-offset.