blob: a7abf61e7af41fd6cd769a2cfc56488b5e6f8ef5 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
|
---
title: <feDistantLight>
slug: Web/SVG/Element/feDistantLight
tags:
- Element
- SVG
- SVG Filter
- SVG Light Source
translation_of: Web/SVG/Element/feDistantLight
---
{{SVGRef}}
La primitive de filtre **`<feDistantLight>`** définit une source de lumière distante, que l'on place dans une primitive de filtre d'éclairage:{{SVGElement("feDiffuseLighting")}} ou {{SVGElement("feSpecularLighting")}}.
## Contexte d'utilisation
{{svginfo}}
## Attributs
### Attributs globaux
- [Attributs de base](/fr/docs/Web/SVG/Attribute#Attributs_de_base)
### Attributs spécifiques
- {{SVGAttr("azimuth")}}
- {{SVGAttr("elevation")}}
## Interface DOM
Cet élément implémente l'interface {{domxref("SVGFEDistantLightElement")}}.
## Spécifications
| Spécification | Statut | Commentaire |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------- | ------------------- |
| {{SpecName('Filters 1.0', '#feDistantLightElement', '<feDistantLight>')}} | {{Spec2('Filters 1.0')}} | Aucun changement |
| {{SpecName('SVG1.1', 'filters.html#feDistantLightElement', '<feDistantLight>')}} | {{Spec2('SVG1.1')}} | Définition initiale |
## Compatibilité des navigateurs
{{Compat("svg.elements.feDistantLight")}}
## Voir aussi
- {{SVGElement("filter")}}
- {{SVGElement("animate")}}
- {{SVGElement("set")}}
- {{SVGElement("feDiffuseLighting")}}
- {{SVGElement("feSpecularLighting")}}
- {{SVGElement("fePointLight")}}
- {{SVGElement("feSpotLight")}}
- [Tutoriel SVG: Filtres](/fr/docs/Web/SVG/Tutoriel/filtres)
|