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 › programmatically changing the colour of svg shape
Page Index Toggle Pages: 1
programmatically changing the colour of svg shape (Read 650 times)
programmatically changing the colour of svg shape
Nov 26th, 2009, 2:00pm
 
'ello all,

Can you do this (programmatically change the colour of svg shape)? Not so according to the reference eh?

Any help appreciated, thanks,
Si
Re: programmatically changing the colour of svg shape
Reply #1 - Nov 26th, 2009, 2:12pm
 
yes you can. you have to call disableStyle before calling fill

http://processing.org/learning/basics/disablestyle.html
Re: programmatically changing the colour of svg shape
Reply #2 - Nov 26th, 2009, 2:13pm
 
ahhh, fantastic. Thanks Cedric, you the man  Smiley
Page Index Toggle Pages: 1