quadraticCurveTo method

ShapePath quadraticCurveTo(
  1. double aCPx,
  2. double aCPy,
  3. double aX,
  4. double aY,
)

This creates a quadratic curve from the currentPath's offset to x and y with cpX and cpY as control point and updates the currentPath's offset to x and y.

Implementation

ShapePath quadraticCurveTo(double aCPx, double aCPy, double aX, double aY) {
  currentPath.quadraticCurveTo(aCPx, aCPy, aX, aY);
  return this;
}