Mnemonics
'POLYGON' Define/Draw a Polygon
GUI Display/Printer
 
Format 'POLOYGON'(x,y,x,y,x,y,x,y ...)
 
Where:
 
x,y Set of point/position coordinates in graphical units. Numeric expression.
 
Description Use 'POLYGON' to draw (print) a polygon (e.g., triangle, hexagon ...). ProvideX joins the various x,y points to form the polygon. Use graphical units or @X(col) and
@Y(line) functions for the coordinates.
 
The 'POLYGON' mnemonic uses current attributes for the 'FILL' Mnemonic, and the 'PEN' Mnemonic.
 
Example The example below creates an irregular four-sided figure by setting the coordinates for the four corners:
 
0030 PRINT 'PEN'(1,3,8),'FILL'(2,6)
0040 PRINT 'POLYGON'(224,450,100,100,400,200,390,390)