FAQ
 
 
Cover  \ Exhibition  \ Learning  \ Reference  \ Download  \ Discourse   
      Language \ Environment \ Libraries \ Comparison
 
   
   
Abridged (A-Z) \ Complete (A-Z)  
   
  Reference for Processing (BETA) version 91+. If you have a previous version, use the reference included with your software. If you see any errors or have any comments, let us know.  
Name  

strokeJoin()

   
Examples  
smooth(); 
strokeWeight(10.0); 
strokeJoin(MITER); 
beginShape(LINE_STRIP); 
vertex(35, 20); 
vertex(65, 50); 
vertex(35, 80); 
endShape(); 
smooth(); 
strokeWeight(10.0); 
strokeJoin(BEVEL); 
beginShape(LINE_STRIP); 
vertex(35, 20); 
vertex(65, 50); 
vertex(35, 80); 
endShape(); 
smooth(); 
strokeWeight(10.0); 
strokeJoin(ROUND); 
beginShape(LINE_STRIP); 
vertex(35, 20); 
vertex(65, 50); 
vertex(35, 80); 
endShape(); 
Description   Sets the style of the joints which connect line segments. These joints are either mitered, beveled, or rounded and specified with the corresponding parameters MITER, BEVEL, and ROUND. The default joint is MITER. This function does not work with the P2D, P3D, OR OPENGL renderers (please see the size() reference for more information).
   
Syntax  
strokeJoin(MODE)
   
Parameters  
MODE   Either MITER, BEVEL, or ROUND

   
Returns   None
   
Usage   Web & Application
   
Related   stroke()
strokeWeight()
strokeCap()
 
 






   
 
Updated: Fri Jul 15 16:36:12 PDT 2005
 
 








Creative Commons License
 
  Processing is an open project initiated by Ben Fry and Casey Reas  
  © Info