WebGraphics.DrawOval

From Xojo Documentation

Method

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

Supported for all project types and targets.

Draws the outline of an oval in the current color (specified by ForeColor property).

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

Example

The following example sets the width and draws the oval. The code is in the Paint event of a WebCanvas.

g.PenWidth = 5
g.DrawOval(10, 10, 100, 60)