iOSGraphics.SaveState
From Xojo Documentation
Method
Saves graphics state of the graphics context so that it can be restored later.
Notes
These values are saved with SaveState and are restored when you call RestoreState.
- Translation
- Clip region
- LineWidth
- AntiAlias
- FillColor
- LineColor
- Alpha value
- TextFont
- TextUnderline
- Rotation
Sample Code
From within an iOSCanvas.Paint event handler: