1. 首页
  2. 移动开发
  3. 其他
  4. html5 canvas海底水草动画.zip

html5 canvas海底水草动画.zip

上传者: 2020-07-21 18:43:57上传 ZIP文件 2.41KB 热度 13次
代码片段: Stem.prototype.draw = function(ctx) {   var len, ctrlPoint, point;   len = this.points.length - 1;   ctrlPoint = {x: 0, y: 0};      ctx.save();   ctx.strokeStyle = this.color;   ctx.beginPath();   ctx.moveTo(this.points[this.points.length - 1].x, this.points[this.points.length
下载地址
用户评论