From Xojo Documentation


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

Supported on Mobile(iOS).

Draws an oval where x and y are the top left corner. If width and height are the same, then a circle is drawn.

Sample Code

From within an iOSCanvas.Paint event handler:

g.DrawOval(50, 50, 25, 25)

// Draw circle in center of graphics area
Const kSize As Integer = 100
g.DrawOval((g.Width - kSize) / 2, (g.Height - kSize) / 2, kSize, kSize)