new ludo.svg.RadialGradient()
Class for creating Radial Gradients,
see: http://www.w3.org/TR/SVG/pservers.html#RadialGradientElement
- Source:
Example
var gradient = new ludo.svg.RadialGradient({ cx:400,cy:200,r:300,fx:400,fy:200 }); gradient.addStop('0%', 'red'); gradient.addStop('50%', 'blue'); gradient.addStop('100%', 'red');
Extends
- canvas.Gradient