pixelWidth
EnvironmentDescription
Actual framebuffer width in pixels. Differs from width on HiDPI screens.
Syntax
pixelWidth
Parameters
None
Returns
intRelated
Under the Hood
From Processing.h:
int pixelWidth = 0, pixelHeight = 0;
Under the Hood
From Processing.cpp:
pixelWidth=w;
pixelWidth=fw;
pixelWidth=fw2;