MCPcopy Create free account
hub / github.com/benfry/processing4 / blendMode

Method blendMode

core/src/processing/core/PGraphics.java:2123–2126  ·  view source on GitHub ↗

Blends the pixels in the display window according to a defined mode. There is a choice of the following modes to blend the source pixels (A) with the ones of pixels already in the display window (B). Each pixel's final color is the result of applying one of the blend modes with each channel of (A) a

(int mode)

Source from the content-addressed store, hash-verified

2121 * @param mode the blending mode to use
2122 */
2123 public void blendMode(int mode) {
2124 this.blendMode = mode;
2125 blendModeImpl();
2126 }
2127
2128
2129 protected void blendModeImpl() {

Callers 3

defaultSettingsMethod · 0.95
reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls 1

blendModeImplMethod · 0.95

Tested by

no test coverage detected