Graphics.RestoreState
From Xojo Documentation
Method
Restores graphics context previously saved with SaveState.
Notes
Support for RestoreState in Desktop and Console applications was added in 2021r1.
Sample Code
From within an MobileCanvas.Paint event handler: