| Mnemonics |
|
| GUI Display/Printer | ||||||
| Format | 'PEN'(style,width,colour) Where: |
|||||
| colour | 'PEN' 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 | |||||
| style | Numeric code for fill pattern type. Supported options include: | |||||
| 0 - No Pen | 3 - Dotted | |||||
| 1 - Solid Pen | 5 - Dash-dot | |||||
| 2 - Dashed | 6 - Dash-dot-dot | |||||
| width | Pen width, in graphical units. Numeric expression | |||||
| *Note* | 'PEN' styles 2 (Dashed), 3 (Dotted), 4 (Dash-dot) and 5 (Dash-dot-dot) | |||||
| only work if width is 1. 'PEN' style 1 (Solid) is the only style that works if width is greater than 1. (This is an internal Windows API specification/ restriction.). | ||||||
| Description | Use 'PEN' to define the current pen style, width, and colour for graphics drawing. | |||||
| Example | 'PEN'(1,10,6) 'PEN'(1,"RGB: 192,192,192") 'PEN'(0,"Light Red") |
|||||