Cubic bezier to (x, y) with control points (x1, y1) and (x2, y2).
Quadratic bezier to (x, y) with control point (x1, y1).
StaticfromSeed a builder with an existing PolygonPath. Useful for extending
an in-flight path with another segment (e.g. appending a cubic to
the end of a curve in response to a user action) without hand-
reaching into the commands / coords typed arrays.
const next = PathBuilder.fromPath(current).curveTo(...).build();
Fluent builder for
PolygonPath; hides theUint8Array/Float32Arrayencoding behind move/line/curve/close calls.