iOSCanvas.Paint

From Xojo Documentation

Event


iOSCanvas.Paint(g As iOSGraphics)

Supported on Mobile (iOS).

Called when the Canvas needs to update its graphical display.

Sample Code

To draw a blue rectangle in the Canvas:

g.FillColor = Color.RGB(0, 0, 255)
g.FillRect(0, 0, g.Width, g.Height)