| Mnemonics |
|
| GUI Display/Printer | ||
| Format | 'RECTANGLE'(x,y,x,y,radius) Where: |
|
| x,y,x,y | Coordinates for top left/bottom right corners, in graphical units. | |
| radius | Positive integer representing the rounding factor for corners. A negative value will have its sign flipped. If the radius exceeds half the height (or width), the system assumes a semi-circle is used to round the edge. | |
| Description | Use 'RECTANGLE' to draw (print) a rectangle defined by two sets of x,y coordinates. Use graphical units or @X(col) and @Y(line) functions for the coordinates. The 'RECTANGLE' mnemonic uses current attributes for the 'FILL' Mnemonic, and the 'PEN' Mnemonic. |
|
| Example | 0030 PRINT 'PEN'(1,3,8),'FILL'(2,6) 0040 PRINT 'RECTANGLE'(100,100,400,600) 0040 PRINT 'RECTANGLE'(700,100,820,220,30) |
|