SVGFEDiffuseLightingElement

Baseline 已广泛支持

此特性已相当成熟,可在许多设备和浏览器版本上使用。自 ⁨2015 年 7 月⁩以来,各浏览器均已提供此特性。

SVGFEDiffuseLightingElement 接口对应于 <feDiffuseLighting> 元素。

EventTarget Node Element SVGElement SVGFEDiffuseLightingElement

实例属性

此接口还继承了其父接口 SVGElement 的属性。

SVGFEDiffuseLightingElement.diffuseConstant 只读

一个 SVGAnimatedNumber,对应于给定元素的 diffuseConstant 属性。

SVGFEDiffuseLightingElement.height 只读

一个 SVGAnimatedLength,对应给定元素的 height 属性。

SVGFEDiffuseLightingElement.in1 只读

一个 SVGAnimatedString,对应给定元素的 in 属性。

SVGFEDiffuseLightingElement.kernelUnitLengthX 只读

一个 SVGAnimatedNumber,对应于给定元素的 kernelUnitLength 属性的 X 分量。

SVGFEDiffuseLightingElement.kernelUnitLengthY 只读

一个 SVGAnimatedNumber,对应于给定元素的 kernelUnitLength 属性的 Y 分量。

SVGFEDiffuseLightingElement.result 只读

一个 SVGAnimatedString,对应给定元素的 result 属性。

SVGFEDiffuseLightingElement.surfaceScale 只读

一个 SVGAnimatedNumber,对应于给定元素的 surfaceScale 属性。

SVGFEDiffuseLightingElement.width 只读

一个 SVGAnimatedLength,对应给定元素的 width 属性。

SVGFEDiffuseLightingElement.x 只读

一个 SVGAnimatedLength,对应给定元素的 x 属性。

SVGFEDiffuseLightingElement.y 只读

一个 SVGAnimatedLength,对应给定元素的 y 属性。

实例方法

此接口不提供任何特定方法,但实现了其父接口 SVGElement 的方法。

规范

规范
滤镜效果模块第 1 级
# 接口SVGFEDiffuseLightingElement

浏览器兼容性

另见