iOSGraphics.FillRect

From Xojo Documentation

Method

iOSGraphics.FillRect(x As Double, y As Double, width As Double, height As Double)

Supported on Mobile(iOS).

Draws a rectangle, filling it with the FillColor.

Sample Code

From within an iOSCanvas.Paint event handler:

g.FillColor = Color.Blue
g.FillRect(10, 10, 20, 20)