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

瀏覽器相容性

另見