Interviewer: Have you ever drawn a curve
If you do, you can use a CornerPathEffect and have a corner Angle that you can use with your path to create a corner effect
Can you make it smooth
This can be controlled by adding connection points and angles
Is there any other way
Bezier curve can pass quadTo three order curve can pass cubicTo, simply speaking is through the starting point control point and end point to draw a Bezier curve, second order words have a control point, three order have two more about Bezier curve introduction can view Bezier curve in Android animation application
By controlling the position of this control point, Bessel curves of different shapes can be achieved, as shown below
The wave effect can be achieved by constantly changing the distance of the X-axis movement through animation, as shown in the following image
The specific implementation is linked below. Thank you for your support and recognition. If you feel helpful, you can give a STAR
github