代码改成这样后ctx2.drawImage(this.orange,this.x[i]-this.l[i]*0.5,this.y[i]-this.l[i]*0.5,this.l[i],this.l[i]);果实消失了,why???
你多了,应该是(src,x,y)你后面多了this.l[ i],this.l[i]