lines
lines(points, [stroke], [fill], [weight])
Draw a series of connected lines (open polygon)
Syntaxe
lines(points=[50, 62, 86, 50, 50, 38, 14, 50], stroke="#000000", fill="#FFA000", weight=4)
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
points | yes | - | list of coords x/y - must be even (multiple of 2) |
stroke | - | - | Stroke color |
fill | - | - | Fill color |
weight | - | - | Stroke weight (thickness) |