canvas绘制图片的三种方法: drawImage(image, x, y) drawImage(image, x, y, width, height) drawImage(image, sourceX, sourceY, sourceWidth, sourceHeight,destX, destY, destWidth, destHeight) 参数: image:所要绘制的图像.这必须是表示 <img> 标记或者屏幕外图像的 Image 对象,或者是 Canvas 元素 x,y:要绘制的…