Draw_Circle

Draw_Circle(X, Y, Radius, Color, Filled)

 

Draw_Circle is a call that draws a circle whose center is (X,Y) and whose radius is given.

 

Color specifies a color.

Filled can be either True (also Filled or Yes) or False (also Unfilled or No).  If True, the circle will be filled in with the given color. If False, the circle will be drawn with no internal fill.

 

Note:  A graphics window must be open when Draw_Circle is called or a run-time error will occur.

 

Examples:

 

Draw_Circle(50,150,25,Green,True)

 

draws a solid green circle with center (50,150) and radius 25.

 

Draw_Circle(100,250,50,Green,False)

 

draws an unfilled green circle with center (100,250) and radius 50.