drawPathCurveToRelative method
void
drawPathCurveToRelative({})
DrawPathCurveToRelative() draws a cubic Bezier curve from the current point to (x,y) using (x1,y1) as the control point at the beginning of the curve and (x2,y2) as the control point at the end of the curve 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 control point for curve beginningy1
y ordinate of control point for curve beginningx2
x ordinate of control point for curve endingy2
y ordinate of control point for curve endingx
x ordinate of the end of the curvey
y ordinate of the end of the curve
Implementation
void drawPathCurveToRelative({
required double x1,
required double y1,
required double x2,
required double y2,
required double x,
required double y,
}) =>
_magickWandBindings.DrawPathCurveToRelative(
_wandPtr,
x1,
y1,
x2,
y2,
x,
y,
);