Name | triangle() |
||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Examples |
triangle(30, 75, 58, 20, 86, 75) | ||||||||||||
Description | A triangle is a plane created by connecting three points. The first two arguments specify the first point, the middle two arguments specify the second point, and the last two arguments specify the third point. | ||||||||||||
Syntax | triangle(x1, y1, x2, y2, x3, y3) | ||||||||||||
Parameters |
| ||||||||||||
Related |
beginShape() rect() |
Updated on Mon Sep 21 15:53:26 2020.
If you see any errors or have comments, please let us know.
This work is licensed under a Creative Commons Attribution-NonCommercial-ShareAlike 4.0 International License