-
Notifications
You must be signed in to change notification settings - Fork 3
Line Width
Christopher Ross-Gill edited this page Aug 1, 2016
·
1 revision
Sets the line width.
Arg | Type | Description | Values |
---|---|---|---|
width | [number!] | Zero, or negative values, produce a line-width of 1 | |
fixed-width | [word!] | If fixed is specified. Line width is not changed during scaling | fixed |
Notes and Examples
Default dynamic line width example:
line-width 3 pen yellow reset-matrix scale 1.5 1.5 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix scale .5 .5 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix scale .2 .2 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40
Fixed line width example:
line-width 3 fixed pen yellow reset-matrix scale 1.5 1.5 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix scale .5 .5 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40 reset-matrix scale .2 .2 translate 100x100 polygon 50x5 62x40 95x40 68x60 80x95 50x74 20x95 32x60 5x40 38x40