Skip to main content

Circle

Circle (Statement)

Format

circle x_position, y_position, radius_expression
circle ( x_position, y_position, radius_expression )

Description

Draws a circle centered at x,y with a radius r using the current pen and brush colors.

The coordinates may be whole numbers or fractions. They are measured in pixels unless a Window has been set, in which case they are in the units that window defines.

Example

clg

color red
circle 125,125,80

penwidth 5
color orange, yellow
circle 250,250,125

penwidth 10
color blue, clear
circle 375,375,80

draws
Circle

See Also

Arc, Chord, Circle, GetPenWidth, Line, PenWidth, Pie, Plot, Poly, Rect, Stamp, Window