displayWidth
EnvironmentDescription
System variable storing the full monitor width in pixels.
Syntax
displayWidth
Parameters
None
Returns
intRelated
Under the Hood
From Processing.h:
int displayWidth = 0, displayHeight = 0;
Under the Hood
From Processing.cpp:
displayWidth=vm->width;