Language \ Environment \ Comparison
 
Index
 
  The Processing 1.0 _ALPHA_ Reference is a work in progress.
If you see any errors or have any comments, please write to: reas at groupc.net
Name  

pop()

   
Examples  
rect(0, 0, 50, 50);   //White rectangle 
push(); 
translate(30, 20); 
fill(0);  
rect(0, 0, 50, 50);   //Black rectangle 
pop(); 
fill(102);  
rect(15, 10, 50, 50); //Gray rectangle 
Description   Pops the current transformation matrix off the matrix stack. Understanding pushing and popping requires understanding the concept of a matrix stack. The push() function saves the current coordinate system to the stack and pop() restores the prior coordinate system. push() and pop() are used in conjuction with the other transformation methods and may be embedded to control the scope of the transformations.
   
Syntax  
pop()
   
Returns   None
   
Usage   Web & Application
   
Related   push()
   
© 2004 - 2001 Massachusetts Institute of Technology and Interaction Design Institute Ivrea
Processing is an open project initiated by Ben Fry and Casey Reas