fillRect (50, 150, 50, 100); ... fillRect(100, 100, 200, 200); ctx.fillStyle = "rgb(0, 0, 255)"; ctx.fillRect(50, 50, 300 ... See MDN doc. Images and Sprites.
確定! 回上一頁