The <feDistantLight>
filter primitive defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting>
or <feSpecularLighting>
.
Categories | Light source element |
---|---|
Permitted content | Any number of the following elements, in any order:<animate> , <set>
|
This element implements the SVGFEDistantLightElement
interface.
Specification | Status | Comment |
---|---|---|
Filter Effects Module Level 1 The definition of '<feDistantLight>' in that specification. | Working Draft | No change |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of '<feDistantLight>' in that specification. | Recommendation | Initial definition |
Desktop | ||||||
---|---|---|---|---|---|---|
Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | |
Basic support | ? | Yes | ? | ? | ? | ? |
azimuth |
? | ? | ? | ? | ? | ? |
elevation |
? | ? | ? | ? | ? | ? |
Mobile | |||||||
---|---|---|---|---|---|---|---|
Android webview | Chrome for Android | Edge Mobile | Firefox for Android | Opera for Android | iOS Safari | Samsung Internet | |
Basic support | ? | ? | Yes | ? | ? | ? | ? |
azimuth |
? | ? | ? | ? | ? | ? | ? |
elevation |
? | ? | ? | ? | ? | ? | ? |
<filter>
<animate>
<set>
<feDiffuseLighting>
<feSpecularLighting>
<fePointLight>
<feSpotLight>
© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Element/feDistantLight