fillRect (0,0,100,100); ctx.restore(); ... fillRect(10,10,100,100); ctx.restore(); ... 參考資料:Transformations - Web APIs | MDN ...
確定! 回上一頁