The SVGRadialGradientElement interface corresponds to the <RadialGradient> element.
On this page
SVGRadialGradientElement
Instance properties
This interface also inherits properties from its parent, SVGGradientElement.
SVGRadialGradientElement.cxRead only-
An
SVGAnimatedLengthcorresponding to thecxattribute of the given<RadialGradient>element. SVGRadialGradientElement.cyRead only-
An
SVGAnimatedLengthcorresponding to thecyattribute of the given<RadialGradient>element. SVGRadialGradientElement.rRead only-
An
SVGAnimatedLengthcorresponding to therattribute of the given<RadialGradient>element. SVGRadialGradientElement.fxRead only-
An
SVGAnimatedLengthcorresponding to thefxattribute of the given<RadialGradient>element. SVGRadialGradientElement.fyRead only-
An
SVGAnimatedLengthcorresponding to thefyattribute of the given<RadialGradient>element.
Instance methods
This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGGradientElement.
Specifications
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGRadialGradientElement |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
cx |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
cy |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
fr |
24 | 79 | 55 | No | 15 | 7 | 4.4 | 25 | 55 | 14 | 7 | 1.5 |
fx |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
fy |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
r |
1 | 12 | 1.5 | 9 | ≤12.1 | 3 | 3 | 18 | 4 | ≤12.1 | 1 | 1.0 |
© 2005–2023 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement