var bgImg = new Image(); bgImg.src = 'images/background.jpg';. 5. 終於到了繪圖。興沖沖的寫下這段程式碼: ctx1.drawImage(bgImg,0,0,wWidth, ...
確定! 回上一頁