赞
踩
ctx_drawImage(ctx, img, x, y, width, height) {
var image = new Image();
image.src = img;
image.onload = function () {
// 将图片画到canvas上面上去!
ctx.drawImage(image, x, y, width, height);
};
},
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。