Open zxyao145 opened 4 years ago
Using canvas draw image by image's url, just like this:
function(url,weight,height,drawX,drawY){ var img = new Image(); img.src = url; img.width = weight; img.height = height; img.onload = function(){ context.drawImage(img,drawX,drawY); } }
Therefore please add support for drawing image by url. Thanks a lot.
Using canvas draw image by image's url, just like this:
Therefore please add support for drawing image by url. Thanks a lot.