POLYGON Mnemonic - Draw Polygon




The 'POLYGON' mnemonic draws a closed object bounded by lines between the specified coordinate points. The polygon is filled using the current brush settings. In the second form, numbers should have the appropriate number of coordinate pairs in it. All points must be integers (no floating point) in base 10, represented as groups of digits separated and terminated by non-digits.

The following examples produce identical results:

PRINT 'POLYGON'(3), "0 0 0 10 10 0 "
PRINT 'POLYGON'(3), "0,0 0,10 10a0 "

See Also

Mnemonics - Alphabetical Listing

Mnemonics - Group Listing