CanvasContext.restore2023-06-28 02:52Restore the saved context.Sample Codecopy//.js const ctx = my.createCanvasContext('awesomeCanvas'); ctx.save(); ctx.setFillStyle('red'); ctx.fillRect(20, 20, 250, 80); ctx.restore(); ctx.fillRect(60, 60, 155, 130); ctx.draw();