The <feDistantLight>
filter primitive defines a distant light source that can be used within a lighting filter primitive: <feDiffuseLighting>
or <feSpecularLighting>
.
Usage context
Categories | Light source element |
---|---|
Permitted content | Any number of the following elements, in any order:<animate> , <set> |
Attributes
Global attributes
Specific attributes
DOM Interface
This element implements the SVGFEDistantLightElement
interface.
Specifications
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 |
Browser compatibility
The compatibility table on this page is generated from structured data. If you'd like to contribute to the data, please check out https://github.com/mdn/browser-compat-data and send us a pull request.
Desktop | Mobile | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
feDistantLight | Chrome ? | Edge Full support ≤18 | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
azimuth | Chrome ? | Edge ? | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
elevation | Chrome ? | Edge ? | Firefox ? | IE ? | Opera ? | Safari ? | WebView Android ? | Chrome Android ? | Firefox Android ? | Opera Android ? | Safari iOS ? | Samsung Internet Android ? |
Legend
- Full support
- Full support
- Compatibility unknown
- Compatibility unknown