使用時必須訂出繪製的範圍(width/height),接著就可以開始用JavaScript進行繪圖了。 ... fillRect(x, y, w, h) // 畫方形context.fillRect(0, 0, 150, 100) ...
確定! 回上一頁