MCPcopy Index your code
hub / github.com/benfry/processing4 / colorMode

Method colorMode

core/src/processing/core/PGraphics.java:7548–7550  ·  view source on GitHub ↗

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 used to change the numerical range used for s

(int mode)

Source from the content-addressed store, hash-verified

7546 * @see PGraphics#stroke(float)
7547 */
7548 public void colorMode(int mode) {
7549 colorMode(mode, colorModeX, colorModeY, colorModeZ, colorModeA);
7550 }
7551
7552
7553 /**

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