SVGRadialGradientElement
The SVGRadialGradientElement interface corresponds to the <RadialGradient> element.
Properties
This interface also inherits properties from its parent, SVGGradientElement.
-
SVGRadialGradientElement.cxRead only -
An
SVGAnimatedLengthcorresponding to thecxattribute of the given<RadialGradient>element. -
SVGRadialGradientElement.cxRead 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.
Methods
This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGGradientElement.
Specifications
| Specification |
|---|
| Scalable Vector Graphics (SVG) 1.1 (Second Edition) (SVG) # InterfaceSVGRadialGradientElement |
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 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
cx |
1 |
12 |
1.5 |
9 |
≤12.1 |
3 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
cy |
1 |
12 |
1.5 |
9 |
≤12.1 |
3 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
fr |
24 |
79 |
55 |
No |
15 |
7 |
≤37 |
25 |
55 |
14 |
7 |
1.5 |
fx |
1 |
12 |
1.5 |
9 |
≤12.1 |
3 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
fy |
1 |
12 |
1.5 |
9 |
≤12.1 |
3 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
r |
1 |
12 |
1.5 |
9 |
≤12.1 |
3 |
≤37 |
18 |
4 |
≤12.1 |
1 |
1.0 |
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGRadialGradientElement