tint()
Image / Loading & DisplayingDescription
Sets the fill value for displaying images. Images can be tinted to specified colors.
Syntax
void tint(float gray)
void tint(float gray, float a)
void tint(float r, float g, float b)
void tint(float r, float g, float b, float a)
Parameters
| Name | Type | Description |
|---|---|---|
| gray | float | grayscale value |
| r | float | red component |
| g | float | green component |
| b | float | blue component |
| a | float | alpha (optional) |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...