feDistantLight

Baseline Widely available

This feature is well established and works across many devices and browser versions. It’s been available across browsers since July 2015.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

该滤镜定义了一个距离光源,可以用在灯光滤镜<feDiffuseLighting>元素或<feSpecularLighting>元素的内部。

使用上下文

类别光源元素
允许的内容任意数量、任意顺序的下列元素:
<animate><discard><set>

示例

属性

全局属性

专有属性

DOM 接口

该元素实现了 SVGFEDistantLightElement 接口。

参见