According to API documentation of the GeneralPath.curveTo :
public void curveTo(float x1,
float y1,
float x2,
float y2,
float x3,
float y3)
Adds a curved segment, defined by three new points, to the path by drawing a Bézier curve that intersects both the current coordinates and the coordinates (x3, y3), using the specified points (x1, y1) and (x2, y2) as Bézier control points.
Parameters:
x1, y1 - the coordinates of the first Béezier control point
x2, y2 - the coordinates of the second Bézier control point
x3, y3 - the coordinates of the final endpoint
what's this final endpoint ? I am completely unable to draw meaningful from this function.
I googled and found that Cubic curve usually has four points but here we see only three points.Please provide me with
helpful information and explain how this function works?
best regards,
Omi