Name

imageMode()

Examples
img = loadImage("laDefense.jpg")
imageMode(CORNER)
image(img, 10, 10, 50, 50)  # Draw image using CORNER mode
img = loadImage("laDefense.jpg")
imageMode(CORNERS)
image(img, 10, 10, 90, 40)  # Draw image using CORNERS mode
img = loadImage("laDefense.jpg")
imageMode(CENTER)
image(img, 50, 50, 80, 80)  # Draw image using CENTER mode
Description
Syntax
Parameters
mode
Related loadImage()
PImage
image()
background()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License