- From: Ian Hickson <ian@hixie.ch>
- Date: Fri, 24 Feb 2012 23:13:58 +0000 (UTC)
On Tue, 19 Apr 2011, Jonathan Watt wrote: > > The extend mode of canvas gradients isn't under user control as it is in > SVG. I'd like to propose adding a setExtend(in DOMString extend) method > to the CanvasGradient interface, where the method would accept the > arguments "none", "repeat", "reflect" and "pad". These would be defined > similarly to the values that the 'spreadMethod' attribute on SVG > gradients accepts. > http://www.w3.org/TR/SVG11/pservers.html#LinearGradientElementSpreadMethodAttribute Can't you just explicitly define the gradient across the entire range of coordinates that you plan to use it on? (i.e. is this just a convenience feature for something that's already possible?) -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Friday, 24 February 2012 15:13:58 UTC