pixelHeight

Environment

Description

Actual framebuffer height in pixels. Differs from height on HiDPI screens.

Syntax

pixelHeight

Parameters

None

Returns

int

Related

Under the Hood

From Processing.h:

int pixelWidth = 0, pixelHeight = 0;

Under the Hood

From Processing.cpp:

pixelHeight=h; pixelHeight=fh; pixelHeight=fh2;