windowResize()

Environment

Description

Resizes the window to the specified dimensions.

Syntax

void windowResize(int w, int h)

Parameters

NameTypeDescription
wintnew width
hintnew height

Returns

void

Related

Under the Hood

From Processing.h:

void windowResize(int w, int h);

Under the Hood

From Processing.cpp:

void PApplet::windowResize(int w,int h){size(w,h);}