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

Method colorMode

core/src/processing/core/PGraphics.java:7559–7561  ·  view source on GitHub ↗

( begin auto-generated from colorMode.xml ) Changes the way Processing interprets color data. By default, the parameters for fill() , stroke() , background() , and color() are defined by values between 0 and 255 using the RGB color model. The colorMode() function is

(int mode)

Source from the content-addressed store, hash-verified

7557 * @see PGraphics#stroke(float)
7558 */
7559 public void colorMode(int mode) {
7560 colorMode(mode, colorModeX, colorModeY, colorModeZ, colorModeA);
7561 }
7562
7563
7564 /**

Callers 6

rawPolysMethod · 0.95
rawLinesMethod · 0.95
rawPointsMethod · 0.95
defaultSettingsMethod · 0.95
reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected