Name

pushMatrix()

Examples
fill(255)
rect(0, 0, 50, 50)# White rectangle
pushMatrix()
translate(30, 20)
fill(0)
rect(0, 0, 50, 50)# Black rectangle
popMatrix()
fill(100)
rect(15, 10, 50, 50)# Gray rectangle
Description
Syntax
Related popMatrix()
translate()
rotate()
rotateX()
rotateY()
rotateZ()
Updated on Wed Jan 18 17:32:21 2017.
Creative Commons License