Path: blob/main/files/en-us/web/svg/element/fepointlight/index.md
6573 views
------{{SVGRef}}
The <fePointLight> filter primitive defines a light source which allows to create a point light effect. It that can be used within a lighting filter primitive: {{SVGElement("feDiffuseLighting")}} or {{SVGElement("feSpecularLighting")}}.
Usage context
{{svginfo}}
Attributes
Global attributes
Specific attributes
{{SVGAttr("x")}}
{{SVGAttr("y")}}
{{SVGAttr("z")}}
DOM Interface
This element implements the {{domxref("SVGFEPointLightElement")}} interface.
Example
SVG
Result
{{EmbedLiveSample("Example", 200, 200)}}
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}
See also
{{SVGElement("filter")}}
{{SVGElement("animate")}}
{{SVGElement("set")}}
{{SVGElement("feDiffuseLighting")}}
{{SVGElement("feSpecularLighting")}}
{{SVGElement("feDistantLight")}}
{{SVGElement("feSpotLight")}}