drawPathCurveToQuadraticBezierRelative method

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

DrawPathCurveToQuadraticBezierRelative() draws a quadratic Bezier curve from the current point to (x,y) using (x1,y1) as the control point using relative 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 drawPathCurveToQuadraticBezierRelative({
  required double x1,
  required double y1,
  required double x,
  required double y,
}) =>
    _magickWandBindings.DrawPathCurveToQuadraticBezierRelative(
      _wandPtr,
      x1,
      y1,
      x,
      y,
    );