BeSly Software Solutions About yab Demos About us Admin


draw circle -- draw a circle

DRAW CIRCLE x,y, Radius, Target$

This command will draw a circle on Target$. Target$ has to be either a valid view, bitmap or canvas. The center of the circle is (x,y) and the circle has a radius of Radius.

At default it will draw a filled circle in the current highcolor. With the draw set command you can change the filling settings.

window open 100,100 to 400,400, "Example", "Example"
draw set true, "HighSolidFill"
draw circle 150,150, 75, "Example"
sleep 7
window close "Example"

Related: draw curve, draw dot, draw ellipse, draw flush, draw line, draw rect, draw set