canvas环境的save和restore(写在前面,比较重要) ... 操作完成后,恢复到保存前的环境——ctx.restore() ... getElementById('canvas') let ctx = canvas.
確定! 回上一頁