CanvasContext.restore2024-01-26 08:06Restore 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();