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

Method tint

core/src/processing/core/PGraphics.java:6662–6665  ·  view source on GitHub ↗

( begin auto-generated from tint.xml ) Sets the fill value for displaying images. Images can be tinted to specified colors or made transparent by setting the alpha. To make an image transparent, but not change it's color, use white as the tint color and specify an alpha value. For inst

(int rgb)

Source from the content-addressed store, hash-verified

6660 * @see PGraphics#image(PImage, float, float, float, float)
6661 */
6662 public void tint(int rgb) {
6663 colorCalc(rgb);
6664 tintFromCalc();
6665 }
6666
6667
6668 /**

Callers 2

reapplySettingsMethod · 0.95
styleMethod · 0.95

Calls 2

colorCalcMethod · 0.95
tintFromCalcMethod · 0.95

Tested by

no test coverage detected