MCPcopy Index your code
hub / github.com/processing/processing / background

Method background

core/src/processing/core/PApplet.java:15255–15258  ·  view source on GitHub ↗

( begin auto-generated from background.xml ) The background() function sets the color used for the background of the Processing window. The default background is light gray. In the draw() function, the background color is used to clear the display window at the beginning of each frame

(int rgb)

Source from the content-addressed store, hash-verified

15253 * @see PGraphics#colorMode(int)
15254 */
15255 public void background(int rgb) {
15256 if (recorder != null) recorder.background(rgb);
15257 g.background(rgb);
15258 }
15259
15260
15261 /**

Callers 2

setGLSettingsMethod · 0.45
drawMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected