Issue
in above scenario, what point is the x1 and y1 and x2 and y2???
for
Path path = Path();
path.quadraticBezierTo(x1, y1, x2, y2)
Solution
https://api.flutter.dev/flutter/dart-ui/Path/quadraticBezierTo.html says:
Adds a quadratic bezier segment that curves from the current point to the given point (x2,y2), using the control point (x1,y1).
That is, (x1, y1) is the "handle point" in your picture, and (x2, y2) is the end point.
Answered By - jlahd
0 comments:
Post a Comment
Note: Only a member of this blog may post a comment.