bezier3To method
Add bezier curve.
The method have 2 control points.
The target
is the end point of the curve, and the control1
and control2
are the control points.
Implementation
void bezier3To(Offset target, Offset control1, Offset control2) {
_parts.add(
_BezierPathPart(
target: target,
control1: control1,
control2: control2,
kind: 3,
),
);
}