getContext('2d'); ctx.save() ctx.fillStyle='red' ctx.scale(2, 2) ctx.fillRect(10, 10, 150, 100) // 红色矩形ctx.restore() ctx.fillRect(50, 50, 150, ...
確定! 回上一頁