Creates a new ShapePath. Unlike a Path, no points are passed in as the ShapePath is designed to be generated after creation.
The current Path that is being generated.
Array of Paths.
This creates a bezier curve from .currentPoint with (cp1X, cp1Y) and (cp2X, cp2Y) as control points and updates .currentPoint to x and y.
Connects a LineCurve from .currentPoint to x, y onto the path.
Move the .currentPoint to x, y.
Creates a quadratic curve from .currentPoint with cpX and cpY as control point and updates .currentPoint to x and y.
Connects a new SplineCurve onto the path.
Generated using TypeDoc
Svgresult paths