![](https://i-blog.csdnimg.cn/blog_migrate/4117abbcd9854916f0989e0ab90d9d0e.gif)
bezier.gif
Path类中提供了画贝塞尔曲线的方法:quadTo()和cubicTo(),两者都是二阶贝塞尔曲线,cubicTo()方法相比于quadTo(),多传了一个初始点坐标
path = new Path();
path.moveTo(100, 100);
path.quadTo(currentX, currentY, 500, 100);
//path.cubicTo(100, 100,currentX, currentY, 500, 100);
canvas.drawPath(path, mPaint);