Name

displayWidth

Examples
size(displayWidth, displayHeight)
line(0, 0, width, height)
Description System variable that stores the width of the entire screen display. This is used to run a full-screen program on any display size.

Updated on Thu Oct 22 12:07:48 2026.

If you see any errors or have comments, please let us know.