| Mnemonics |
|
| GUI Display/Printer | ||||||
| Format | 1. One-Colour Fill Pattern: FILL' (pattern,colour1) 2. Two-Colour Fill Pattern/Gradient: 'FILL' (pattern,colour1,colour2) Where: |
|||||
| pattern | Numeric code for fill pattern type. Supported options include: | |||||
| 0 - No fill | 4 - Crossed line | |||||
| 1 - Solid fill | 5 - Bottom left to top right | |||||
| 2 - Horizontal lines | 6 - Top left to bottom right | |||||
| 3 - Vertical lines | 7 - Diagonal crossed lines | |||||
| Numeric code for gradient pattern direction. Supported options include: 2 - top to bottom 3 - left to right 5 - top-left to bottom-right |
||||||
| 6 - bottom-left to top-right | ||||||
| colour1 | Fill colour. Use colour code, colour name, or RGB setting; i.e., RGB:n n n where n=0-255. Options include: | |||||
| 0 - Black | 8 - Dark Gray | |||||
| 1 - Light Red | 9 - Dark Red | |||||
| 2 - Light Green | 10 - Dark green | |||||
| 3 - Light Yellow | 11 - Dark Yellow | |||||
| 4 - Light Blue | 12 - Dark Blue | |||||
| 5 - Light Magenta | 13 - Dark Magenta | |||||
| 6 - Light Cyan | 14 - Dark Cyan | |||||
| 7 - White | 15 - Gray | |||||
| colour2 | Second colour for two-colour gradient or fill patterns. Options are the same as for colour1; however, when applying two colours, ensure that both are defined using the same convention –if colour1 uses RGB, colour2 must use RGB as well. | |||||
| Description | Use 'FILL' to define the current fill pattern/gradient and colours for an open channel (default is the terminal). The direction for gradient fill is derived from the pattern codes 2, 3, 5, and 6. Non-gradient two-colour fill patterns: 4 and 7 (first colour for lines, second colour for background fill). |
|||||
| Examples | PRINT 'PEN'(1,3,1),'FILL'(2,6),'CIRCLE'(224,450,100) PRINT 'Fill'(1,"RGB: 192,192,192"), PRINT 'Fill'(0,"Light Red"), PRINT 'Fill'(3,"Colur32","Colur51") |
|||||