First page Back Continue Last page Graphics
Quad
quad command:
- quad( x1, y1, x2, y2, x3, y3, x4, y4 ) / 4 coordinates
- draws a quadrilateral (4 sided polygon) to the screen
- border color is set using the stroke() command
quads are like rectangles, except the angles of their corners are not constrained to 90 degrees.
quad can be used to draw rectangles