Mnemonics

'CIRCLE'

Define/Draw a Circle

GUI Display/Printer 

Format

'CIRCLE'(x,y,radius,aspect)
 
Where:

aspect

Numeric aspect ratio/viewpoint. (Ratio=1 results in no tilt.)

radius

Radius of the circle, in graphical units. Numeric expression.

x,y

Coordinates for the centre of the drawing, in graphical units. Numeric expression.

Description

Use 'CIRCLE' to draw (print) a circle on the device. For x,y and radius, use graphical units or the @X( ) / @Y( ) functions. The 'CIRCLE' mnemonic uses the current attributes for 'FILL' and 'PEN' mnemonics.

For PDFs and Windows graphical drawing, entering a Ratio=0 means no ratio. A ratio <0 is invalid and results in an Error #29: Invalid Mnemonic or position specification.

See Also

@X( ) / @Y( ) Convert X/Y Coordinates
'FILL' Define Fill Style

'PEN' Define Pen Style

Example

print 'pen'(1,3,1),'fill'(2,6)
print 'circle'(720,600,100,1)
print 'pen'(1,3,6),'circle'(950,600,100,2)