标签:
var c = context.getContext("2d");
var cimg = new Image();
cimg.src = "img path";//path either relative or absolute position
cimg.onload = function(){//callback function
c.drawImage(cimg,100,100);
}
标签:
原文地址:http://www.cnblogs.com/jinxiao/p/4189212.html