drawPathCurveToQuadraticBezierAbsolute method

void drawPathCurveToQuadraticBezierAbsolute({
  1. required double x1,
  2. required double y1,
  3. required double x,
  4. required double y,
})

DrawPathCurveToQuadraticBezierAbsolute() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using absolute coordinates. At the end of the command, the new current point becomes the final (x,y) coordinate pair used in the polybezier.

  • x1 x ordinate of the control point
  • y1 y ordinate of the control point
  • x x ordinate of final point
  • y y ordinate of final point

Implementation

void drawPathCurveToQuadraticBezierAbsolute({
  required double x1,
  required double y1,
  required double x,
  required double y,
}) =>
    _magickWandBindings.DrawPathCurveToQuadraticBezierAbsolute(
      _wandPtr,
      x1,
      y1,
      x,
      y,
    );