0
我有这个代码在画布上画一个圆。用图像替换javascript context.arc
create: function(){
context.beginPath();
context.arc(this.x, this.y, this.radius, 0, Math.PI * 2, false);
context.fill();
}
是否可以用图像替换圆圈?
谢谢!现在就开始工作了。 –