From Xojo Documentation


Graphics.FillOval(x As Double, y As Double, width As Double, height As Double)

Supported for all project types and targets.

Draws an oval filled with the current color. The current color is set with the ForeColor property.


x and y are the coordinates of the top-left corner. width and height specify the size of the oval.

Sample Code

g.DrawingColor = &cff0000
g.FillOval(10, 10, 100, 60)