rocinantealpha

reference / shapes

quad

Draws a four-sided shape through four points.

quad { 80, 60 } { 320, 40 } { 300, 260 } { 100, 220 } fill skyblue
what it draws: the whole window, 400 by 300
What the example of quad draws

How to write it

quad a b c d [fill color] [stroke color] [thickness number] [alpha number] [style value] [as word]

Related