Sets the fill value for displaying images. Images can be tinted to specified colors or made transparent by including an alpha value. To apply transparency to an image without affecting its color, use white as the tint color and specify an alpha value. For instance, tint(255, 128)
(int rgb)
| 6666 | * @see PGraphics#image(PImage, float, float, float, float) |
| 6667 | */ |
| 6668 | public void tint(int rgb) { |
| 6669 | colorCalc(rgb); |
| 6670 | tintFromCalc(); |
| 6671 | } |
| 6672 | |
| 6673 | |
| 6674 | /** |
no test coverage detected