[whatwg] setting canvas colors as array

On Sat, 04 Oct 2008 01:37:53 +0200, Oliver Hunt <oliver at apple.com> wrote:
> <thinking out loud>
> Just had a thought (no idea how original) -- how about if fillStyle were  
> able to accept a 3 or 4 number array? eg. fillStyle = [0, 0.3, 0.6, 1.0]  
> ?
>
> That might work well if people are using arrays as vectors/colours
> </thinking out loud>

Philip Taylor suggested that a while back:

   http://lists.whatwg.org/pipermail/whatwg-whatwg.org/2007-April/010939.html

Ian Hickson replied only to the added value of returning an array rather  
than a string:

   http://lists.whatwg.org/htdig.cgi/whatwg-whatwg.org/2007-May/011268.html

(Which at this point is unfortunately no longer possible I'm afraid.)


-- 
Anne van Kesteren
<http://annevankesteren.nl/>
<http://www.opera.com/>

Received on Saturday, 4 October 2008 03:07:07 UTC