height

Environment

Description

System variable storing the height of the display window as set by size().

Syntax

height

Parameters

None

Returns

int

Related

Under the Hood

From Processing.h:

int height = 0; height = h; height=h; : width(o.width), height(o.height), pixels(std::move(o.pixels)), texID(o.texID), dirty(o.dirty) { o.texID=0; } float height = 0; height=(maxy>-1e8)?(maxy-miny):0; int& height = logicalH;

Under the Hood

From Processing.cpp:

gi.height = img->height; i < width*height;