Name

shapeMode()

Examples
size(100, 100)
apple = loadShape("apple.svg")

shapeMode(CENTER)
shape(apple, 35, 35, 50, 50)
shapeMode(CORNER)
shape(apple, 35, 35, 50, 50)
Description
Syntax
shapeMode(mode)
Parameters
mode
Related PShape
shape()
rectMode()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License