displayWidth

Environment

Description

System variable storing the full monitor width in pixels.

Syntax

displayWidth

Parameters

None

Returns

int

Related

Under the Hood

From Processing.h:

int displayWidth = 0, displayHeight = 0;

Under the Hood

From Processing.cpp:

displayWidth=vm->width;