The SVGRadialGradientElement
interface corresponds to the <RadialGradient>
element.
The SVGRadialGradientElement
interface corresponds to the <RadialGradient>
element.
This interface also inherits properties from its parent, SVGGradientElement
.
SVGRadialGradientElement.cx
Read only
An SVGAnimatedLength
corresponding to the cx
attribute of the given <RadialGradient>
element.
SVGRadialGradientElement.cy
Read only
An SVGAnimatedLength
corresponding to the cy
attribute of the given <RadialGradient>
element.
SVGRadialGradientElement.r
Read only
An SVGAnimatedLength
corresponding to the r
attribute of the given <RadialGradient>
element.
SVGRadialGradientElement.fx
Read only
An SVGAnimatedLength
corresponding to the fx
attribute of the given <RadialGradient>
element.
SVGRadialGradientElement.fy
Read only
An SVGAnimatedLength
corresponding to the fy
attribute of the given <RadialGradient>
element.
This interface doesn't implement any specific methods, but inherits methods from its parent interface, SVGGradientElement
.
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