GSDP:GAM100/CProcessing/fullscreen()

From Inside
Jump to: navigation, search

fullscreen()

Description

The function fullscreen() sets the window to fullscreen. Using fullscreen() automatically sets the window's pixel width and height to the monitor's width and height. Use fullscreenAdvanced() to specify a pixel width and height for the fullscreen window.

Example

void init() 
{
  // Set the window to fill the screen
  fullscreen();

  // Set the background to black
  background(color(0, 0, 0, 255));
}

Related

Personal tools
Namespaces

Variants
Actions
Navigation
NameSpaces:>
Tools
Dynamic:>