This reference is for Processing 3.0+. If you have a previous version, use the reference included with your software in the Help menu. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Core Javadoc and Libraries Javadoc.

Name | ## quad() |
||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|

Examples | quad(38, 31, 86, 20, 69, 63, 30, 76); | ||||||||||||||||

Description | A quad is a quadrilateral, a four sided polygon. It is similar to a rectangle, but the angles between its edges are not constrained to ninety degrees. The first pair of parameters (x1,y1) sets the first vertex and the subsequent pairs should proceed clockwise or counter-clockwise around the defined shape. | ||||||||||||||||

Syntax | quad( | ||||||||||||||||

Parameters |
| ||||||||||||||||

Returns | void |

This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License.