Circle

Circle
A **CIRCLE** can be drawn in a graphic object. It is drawn in the current Color and the current Size. The center is at the current pen position. The size of the radius is fed to the CIRCLE command. The radius of a circle is the distance from the center to the circumference of the circle.


 * 1) handle CIRCLE(r) - Draw a circle of radius r at the current position

Here is a demo that creates a graphic object, draws a circle, then causes the graphic to be displayed on the web page.

code format="vbnet" 'create a graphic object graphic #g, 300, 300 'place the drawing pen at 100,100 'draw a circle with radius 75 'add graphic to web page render #g code
 * 1) g place(100,100)
 * 1) g circle(75)