[whatwg] Addition of a setExtend(in DOMString extend) method to the CanvasGradient interface
jwatt at jwatt.org
Tue Apr 19 08:41:25 PDT 2011
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.
More information about the whatwg