iOSGraphics

From Xojo Documentation

Revision as of 18:39, 24 October 2018 by PLefebvre (talk | contribs) (Notes)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Class (inherits from Object)

Used to draw text, lines, rectangle and images.

Properties
Alpha Height fa-lock-32.png TextUnderline
AntiAlias LineColor Width fa-lock-32.png
FillColor LineWidth
Handle fa-lock-32.png TextFont
Methods
ClipToPath DrawRoundRect RestoreState
ClipToRect DrawTextBlock Rotate
DrawImage DrawTextLine SaveState
DrawLine FillOval Scale
DrawOval FillPath TextBlockSize
DrawPath FillRect TextLineSize
DrawRect FillRoundRect Translate

Notes

You cannot instantiate iOSGraphics. You can get an iOSGraphics instance from either an iOSCanvas or an iOSBitmap.

Changing the graphics state only affects subsequent drawing commands.

See Also

iOSBitmap, iOSImage, iOSPath classes; iOSCanvas control