SVGFEConvolveMatrixElement

Baseline 已廣泛支援

此特性已相當成熟,可在許多裝置和瀏覽器版本上使用。自 ⁨2015 年 7 月⁩以來,各瀏覽器均已提供此特性。

SVGFEConvolveMatrixElement 介面對應於 <feConvolveMatrix> 元素。

EventTarget Node Element SVGElement SVGFEConvolveMatrixElement

例項屬性

此介面還繼承了其父介面 SVGElement 的屬性。

SVGFEConvolveMatrixElement.bias 只讀

一個 SVGAnimatedNumber,對應給定元素的 bias 屬性。

SVGFEConvolveMatrixElement.divisor 只讀

一個 SVGAnimatedNumber,對應給定元素的 divisor 屬性。

SVGFEConvolveMatrixElement.edgeMode 只讀

一個 SVGAnimatedEnumeration,對應給定元素的 edgeMode 屬性。接受此介面上定義的 SVG_EDGEMODE_* 常量之一。

SVGFEConvolveMatrixElement.height 只讀

一個 SVGAnimatedLength,對應給定元素的 height 屬性。

SVGFEConvolveMatrixElement.in1 只讀

一個 SVGAnimatedString,對應給定元素的 in 屬性。

SVGFEConvolveMatrixElement.kernelMatrix 只讀

一個 SVGAnimatedNumberList,對應給定元素的 kernelMatrix 屬性。

SVGFEConvolveMatrixElement.kernelUnitLengthX 只讀

一個 SVGAnimatedNumber,對應給定元素的 kernelUnitLength 屬性。

SVGFEConvolveMatrixElement.kernelUnitLengthY 只讀

一個 SVGAnimatedNumber,對應給定元素的 kernelUnitLength 屬性。

SVGFEConvolveMatrixElement.orderX 只讀

一個 SVGAnimatedInteger,對應給定元素的 order 屬性。

SVGFEConvolveMatrixElement.orderY 只讀

一個 SVGAnimatedInteger,對應給定元素的 order 屬性。

SVGFEConvolveMatrixElement.preserveAlpha 只讀

一個 SVGAnimatedBoolean,對應給定元素的 preserveAlpha 屬性。

SVGFEConvolveMatrixElement.result 只讀

一個 SVGAnimatedString,對應給定元素的 result 屬性。

SVGFEConvolveMatrixElement.targetX 只讀

一個 SVGAnimatedInteger,對應給定元素的 targetX 屬性。

SVGFEConvolveMatrixElement.targetY 只讀

一個 SVGAnimatedInteger,對應給定元素的 targetY 屬性。

SVGFEConvolveMatrixElement.width 只讀

一個 SVGAnimatedLength,對應給定元素的 width 屬性。

SVGFEConvolveMatrixElement.x 只讀

一個 SVGAnimatedLength,對應給定元素的 x 屬性。

SVGFEConvolveMatrixElement.y 只讀

一個 SVGAnimatedLength,對應給定元素的 y 屬性。

例項方法

此介面不提供任何特定方法,但實現了其父介面 SVGElement 的方法。

靜態屬性

SVG_EDGEMODE_UNKNOWN (0)

型別不是預定義型別之一。嘗試定義此型別的新值或嘗試將現有值切換為此型別是無效的。

SVG_EDGEMODE_DUPLICATE (1)

對應於值 duplicate

SVG_EDGEMODE_WRAP (2)

對應於值 wrap

SVG_EDGEMODE_NONE (3)

對應於值 none

規範

規範
濾鏡效果模組第 1 級
# 介面SVGFEConvolveMatrixElement

瀏覽器相容性

另見