iOSGraphics.DrawRect

From Xojo Documentation

Method

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

Supported on Mobile(iOS).

Draws a rectangle.

Sample Code

From within an iOSCanvas.Paint event handler:

g.LineColor = Color.Blue
g.DrawRect(10, 10, 20, 20)