- From: Rik Cabanier <cabanier@gmail.com>
- Date: Sat, 1 Sep 2012 19:17:43 -0700
- To: David Dailey <ddailey@zoominternet.net>
- Cc: whatwg <whatwg@lists.whatwg.org>, public-canvas-api@w3.org
Received on Sunday, 2 September 2012 02:18:10 UTC
Since Canvas has support for pattern, you could fairly easy emulate this behavior. I think it would be handy if you could add the 'reflect' idiom to patterns. Rik On Sat, Sep 1, 2012 at 7:07 PM, David Dailey <ddailey@zoominternet.net>wrote: > While on the topic, it seems like reflected linear gradients would be quite > handy -- insert an "edge" into the stop-sequence and then reflect or repeat > from there. > > Cheers > David > > -----Original Message----- > From: whatwg-bounces@lists.whatwg.org > [mailto:whatwg-bounces@lists.whatwg.org] On Behalf Of Rik Cabanier > Sent: Saturday, September 01, 2012 9:59 PM > To: whatwg; public-canvas-api@w3.org > Subject: [whatwg] gradient edge case > > All, > > Currently the canvas spec specifies the following: > > If x0 = x1 and y0 = y1, then the linear gradient must paint nothing. > > and > > If x0 = x1 and y0 = y1 and r0 = r1, then the radial gradient must paint > nothing > > Why is this? It seems that the gradient should just be a line or circle > that > has the first colorstop's on the left/inside and the last colorstop's color > on the right/outside. > > Rik > > > >
Received on Sunday, 2 September 2012 02:18:10 UTC