WebGraphics.FillOval

From Xojo Documentation

Method

WebGraphics.FillOval(x As Integer, y As Integer, width As Integer, height As Integer)

Supported for all project types and targets.

Draws an oval filled with the current color (specified by ForeColor).

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

Example

The following example draws a filled oval. The code is in the Paint event of a WebCanvas:

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