curveTo method
Draws a quadratic Bezier curve from the current drawing position to the
specified anchor point (anchorX
, anchorY
), using the specified control
point (controlX
, controlY
).
The method returns this, which allows for method chaining.
Implementation
Graphics curveTo(
double controlX,
double controlY,
double anchorX,
double anchorY,
) {
_path!.quadraticBezierTo(controlX, controlY, anchorX, anchorY);
return this;
}