Name

tint()

Examples
img = loadImage("laDefense.jpg")
image(img, 0, 0)
tint(0, 153, 204)  # Tint blue
image(img, 50, 0)
img = loadImage("laDefense.jpg")
image(img, 0, 0)
tint(0, 153, 204, 126)  # Tint blue and set transparency
image(img, 50, 0)
img = loadImage("laDefense.jpg")
image(img, 0, 0)
tint(255, 126)  # Apply transparency without changing color
image(img, 50, 0)
Description
Syntax
Parameters
rgb
alpha
gray
v1
v2
v1
Related noTint()
image()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License