translate method
Translate the curve
Implementation
QuadraticBezier translate({double x = 0, double y = 0}) {
return QuadraticBezier(
start: start.translate(x, y),
control: control.translate(x, y),
end: end.translate(x, y),
);
}
Translate the curve
QuadraticBezier translate({double x = 0, double y = 0}) {
return QuadraticBezier(
start: start.translate(x, y),
control: control.translate(x, y),
end: end.translate(x, y),
);
}