Back to Content

Index

files/en-us/web/svg/reference/element/fedistantlight/index.md

latest827 B
Original Source

The <feDistantLight> SVG element defines a distant light source that can be used within a lighting filter primitive: {{SVGElement("feDiffuseLighting")}} or {{SVGElement("feSpecularLighting")}}.

Usage context

{{svginfo}}

Attributes

  • {{SVGAttr("azimuth")}}
  • {{SVGAttr("elevation")}}

DOM Interface

This element implements the {{domxref("SVGFEDistantLightElement")}} interface.

Specifications

{{Specifications}}

Browser compatibility

{{Compat}}

See also

  • {{SVGElement("filter")}}
  • {{SVGElement("animate")}}
  • {{SVGElement("set")}}
  • {{SVGElement("feDiffuseLighting")}}
  • {{SVGElement("feSpecularLighting")}}
  • {{SVGElement("fePointLight")}}
  • {{SVGElement("feSpotLight")}}
  • SVG tutorial: Filter effects