iOSGraphics.SaveState
From Xojo Documentation
Revision as of 16:22, 20 August 2018 by PLefebvre (talk | contribs) (Created page with "{{MethodBox | name = SaveState | ownertype = class | scope = public | parameters = | owner = iOSGraphics | project=Mobile | target=iOS }} {{Description | text = Saves gra...")
You are currently browsing the old Xojo documentation site. Please visit the new Xojo documentation site! |
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: