Canvas曲线绘制

Canvas曲线绘制

arc()

arc(

​ centerx, centery, radius,

​ startingAngle, endingAngle,

​ anticlockwise = false

)

Canvas曲线绘制
Canvas曲线绘制

arcTo()

arcTo(

​ x1, y1,

​ x2, y2,

​ radius );

Canvas曲线绘制

二次贝塞尔(Bezier) 曲线 quadraticCurveTo()

quadraticCurveTo(

​ x1, y1,

​ x2, y2 );

Canvas曲线绘制

三次贝塞尔(Bezier) 曲线 bezierCurveTo()

bezierCurveTo(

​ x1, y1,

​ x2, y2,

​ x3, y3 );

Canvas曲线绘制
上一篇:布隆过滤器


下一篇:Git修改用户名、密码