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 › bug at rectMode(CENTER_DIAMETER);
Page Index Toggle Pages: 1
bug at rectMode(CENTER_DIAMETER); ? (Read 1468 times)
bug at rectMode(CENTER_DIAMETER); ?
Jan 13th, 2006, 7:14am
 
maybe is bug?

ver:0098beta

code:
rectMode(CENTER_DIAMETER);
rect(35, 35, 50, 50);
rectMode(CORNER);
fill(102);
rect(35, 35, 50, 50);


/tmp/build15132.tmp/Temporary_4065_6076.java:1:299:1:313: Semantic Error: No accessible field named "CENTER_DIAMETER" was found in type "Temporary_4065_6076".
Re: bug at rectMode(CENTER_DIAMETER); ?
Reply #1 - Jan 13th, 2006, 12:33pm
 
Check out http://processing.org/reference/rectMode_.html
You'll see that the possible modes are CENTER, CORNER, or CORNERS. CENTER_DIAMETER is an old ALPHA syntax I think.
Re: bug at rectMode(CENTER_DIAMETER); ?
Reply #2 - Jan 13th, 2006, 3:18pm
 
documented here:
http://processing.org/faq/changes.html
Page Index Toggle Pages: 1