rocinantealpha

reference / shapes

line

Draws a line between two points.

thickness 4line from 40 260 to 360 40line from 40 40 to 360 260 stroke tomato
what it draws: the whole window, 400 by 300
What the example of line draws

How to write it

line from x1 y1 to x2 y2 [fill color] [stroke color] [thickness number] [alpha number] [style value] [as word]
line from from to to [fill color] [stroke color] [thickness number] [alpha number] [style value] [as word]

Related