line_points
line_points(points, [stroke], [weight])
Draw a line from a list of 2 points (top/left, bottom/right)
Syntaxe
line(points=[10,10, 15,15], stroke="#000000",weight=4)
Arguments
| Name | Required | Default | Description |
|---|---|---|---|
points | yes | - | List of Coords of top/left, bottom/right |
stroke | - | - | Stroke color |
weight | - | - | Stroke weight (thickness) |