let CTX = canvas.getContext('2d');
let img = new Image();
img.onload = function(){
let _this = this;
CTX.drawImage(_this,0,0,120,120,0,0,120,120);
}
img.src = './images/chips.png';
用canvas画的图片,怎么让他运动到指定坐标》?
噜噜哒
相关分类