The SVGFESpotLightElement interface corresponds to the <feSpotLight> element.
The SVGFESpotLightElement interface corresponds to the <feSpotLight> element.
This interface also inherits properties from its parent interface, SVGElement.
SVGFESpotLightElement.x Read only
An SVGAnimatedNumber corresponding to the x attribute of the given element.
SVGFESpotLightElement.y Read only
An SVGAnimatedNumber corresponding to the y attribute of the given element.
SVGFESpotLightElement.z Read only
An SVGAnimatedNumber corresponding to the z attribute of the given element.
SVGFESpotLightElement.pointAtX Read only
An SVGAnimatedNumber corresponding to the pointAtX attribute of the given element.
SVGFESpotLightElement.pointAtY Read only
An SVGAnimatedNumber corresponding to the pointAtY attribute of the given element.
SVGFESpotLightElement.pointAtZ Read only
An SVGAnimatedNumber corresponding to the pointAtZ attribute of the given element.
SVGFESpotLightElement.specularExponent Read only
An SVGAnimatedNumber corresponding to the specularExponent attribute of the given element.
SVGFESpotLightElement.limitingConeAngle Read only
An SVGAnimatedNumber corresponding to the limitingConeAngle attribute of the given element.
This interface does not provide any specific methods, but implements those of its parent, SVGElement.
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGFESpotLightElement |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
limitingConeAngle |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
pointsAtX |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
pointsAtY |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
pointsAtZ |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
specularExponent |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
x |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
y |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 1.0 |
z |
5 | 12 | 3 | 10 | ≤12.1 | 6 | 4.4 | 18 | 4 | ≤12.1 | 6 | 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/SVGFESpotLightElement