[ Web Proxy ]
URL:
Viewing: https://processing.org/reference/width.html [Back]  [Original]

width / Reference / Processing.org
Skip to main content

Name

width

Description

System variable which stores the width of the display window. This value is set by the first parameter of the size() function. For example, the function call size(320, 240) sets the width variable to the value 320. The value of width defaults to 100 if size() is not used in aprogram.

Examples


Web Proxy Viewer  |  New URL  |  Original Page