Name

rect()

Examples
rect(30, 20, 55, 55)
rect(30, 20, 55, 55, 7)
rect(30, 20, 55, 55, 3, 6, 12, 18)
Description
Syntax
rect(a, b, c, d)
rect(a, b, c, d, r)
rect(a, b, c, d, tl, tr, br, bl)
Parameters
a
b
c
d
r
tl
tr
br
bl
Related rectMode()
quad()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License