We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProgramming Questions & HelpSyntax Questions › noStroke, very basic
Page Index Toggle Pages: 1
noStroke, very basic (Read 476 times)
noStroke, very basic
Aug 23rd, 2009, 10:40am
 
I entered a noStroke() for a rectangle.
After this, I'm putting in a few more shapes, how do I restore the lines? I guess I could put the noStroke rect last in the code, but I would like to know how to it the other way too.
Re: noStroke, very basic
Reply #1 - Aug 23rd, 2009, 10:48am
 
just add stroke(0); again...

or if it gets more compelx you can use pushStyle, popStyle...

Re: noStroke, very basic
Reply #2 - Aug 23rd, 2009, 10:50am
 
Just use stroke().
Page Index Toggle Pages: 1