SVGRadialGradient¶
Overview¶
Controller that creates and keeps an SVG radial gradient up-to-date with a Scenery RadialGradient
SVG gradients, see http://www.w3.org/TR/SVG/pservers.html
@author Jonathan Olson <jonathan.olson@colorado.edu>
Class SVGRadialGradient¶
Constructor¶
new SVGRadialGradient( svgBlock : SVGBlock, gradient : RadialGradient )¶
Instance Methods¶
initialize( svgBlock : SVGBlock, radialGradient : RadialGradient ) : this¶
createDefinition() : SVGRadialGradientElement¶
(protected)
Creates the gradient-type-specific definition.
freeToPool()¶
Static Properties¶
pool : Pool¶
(readonly)
Source Code¶
See the source for SVGRadialGradient.ts in the scenery repository.