Cover
Reference
Tutorials
Bugs
# rect 2 https://processing.org/reference/rect_.html rect(30, 20, 55, 55, 7)
# rect 1 https://processing.org/reference/rect_.html rect(30, 20, 55, 55)
# rect 3 https://processing.org/reference/rect_.html rect(30, 20, 55, 55, 3, 6, 12, 18)
rect(a ,b ,c ,d ) rect(a ,b ,c ,d ,r ) rect(a ,b ,c ,d ,tl ,tr ,br ,bl )
| a | float: x-coordinate of the rectangle by default |
|---|---|
| b | float: y-coordinate of the rectangle by default |
| c | float: width of the rectangle by default |
| d | float: height of the rectangle by default |
| r | float: radii for all four corners |
| tl | float: radius for top-left corner |
| tr | float: radius for top-right corner |
| br | float: radius for bottom-right corner |
| bl | float: radius for bottom-left corner |