varimg =newImage();. img.id ='pic';. img.onload =function(){. cxt.drawImage(img,x,y,witdh,height);. }; 解决方式:. 添加到dom里面.
確定! 回上一頁