FAQ
Cover
This is the archive Discourse for the Processing (ALPHA) software.
Please visit the new Processing forum for current information.

   Processing 1.0 _ALPHA_
   Suggestions
   Software Suggestions
(Moderator: fry)
   color
« Previous topic | Next topic »

Pages: 1 
   Author  Topic: color  (Read 279 times)
Martin

122417302122417302martingomez_listsmg1ph WWW Email
color
« on: May 24th, 2003, 5:24pm »

would be nice if
color x = color(#yyyyyy);
was there
 
thanks
« Last Edit: May 24th, 2003, 5:24pm by Martin »  
fry


WWW
Re: color
« Reply #1 on: Jun 24th, 2003, 9:12pm »

doesn't
color x = #yyyyyy;
work?
 
Martin

122417302122417302martingomez_listsmg1ph WWW Email
Re: color
« Reply #2 on: Jun 25th, 2003, 4:00pm »

ah, my bad. it works.
would there be a provision for
color x = #yyyyyy, a;
where a is alpha?
 
fry


WWW
Re: color
« Reply #3 on: Jun 25th, 2003, 6:40pm »

we couldn't decide whether it should be #AARRGGBB or #RRGGBBAA so we wound up nixing it in the most recent release (it was in there for two or three).  
 
normally it should be #AARRGGBB, but all the rest of our color functions are r, g, b, a so it seemed confusing.
 
Pages: 1 

« Previous topic | Next topic »