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 Mon Sep 21 15:53:25 2020.

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