Name

height

Examples
noStroke()
background(0)
rect(40, 0, 20, height)
rect(60, 0, 20, height/2)
Description System variable that stores the height of the display window. This value is set by the second parameter of the size() function. For example, the function call size(320, 240) sets the height variable to the value 240. The value of height defaults to 100 if size() is not used in a program.
Syntax
	rect(40, 0, 20, height)
Related width
size()

Updated on Tue Feb 27 14:07:12 2024.

If you see any errors or have comments, please let us know.