Re: [whatwg] Addition of a setExtend(in DOMString extend) method to the CanvasGradient interface

2012-02-24 Thread Ian Hickson
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", "ref

[whatwg] Addition of a setExtend(in DOMString extend) method to the CanvasGradient interface

2011-04-19 Thread Jonathan Watt
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[1], where the method would accept the arguments "none", "repeat", "reflect" and "pad". These would be defined similarly to