fullScreen()
EnvironmentDescription
Opens the sketch in fullscreen mode.
Syntax
void fullScreen()
Parameters
None
Returns
voidRelated
Under the Hood
From Processing.h:
void fullScreen();
Under the Hood
From Processing.cpp:
void PApplet::fullScreen() {
if (!gWindow) {
winWidth = displayWidth;
winHeight = displayHeight;
} else {
GLFWmonitor* m = glfwGetPrimaryMonitor();
const GLFWvidmode* v = glfwGetVideoMode(m);
glfwSetWindowMonitor(gWindow, m, 0, 0, v->width, v->height, v->refreshRate);
}
}