Pen
From DocBase
[edit]
PEN
Sets the color or image for outline rendering.
| Arg | Type | Description | Values |
|---|---|---|---|
| stroke-color | [tuple!] | Primary line color | |
| dash-color | [tuple!] | Used for patterned lines | |
| image | [image!] |
Notes and Examples
The colors can include an alpha channel value for transparency.
Setting pen to off will disable the pen color to fully transparent.
line-width 3
pen yellow
box 20x20 200x200
pen off
fill-pen blue
box 50x50 250x250
pen logo.gif
fill-pen off
box 100x100 300x300

