SVGFEConvolveMatrixElement

我们的志愿者还没有将这篇文章翻译为 中文 (简体)加入我们帮助完成翻译!
您也可以阅读此文章的English (US)版。

The SVGFEConvolveMatrixElement interface corresponds to the <feConvolveMatrix> element.

Constants

Name Value Description
SVG_EDGEMODE_UNKNOWN 0 The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
SVG_EDGEMODE_DUPLICATE 1 Corresponds to the duplicate value.
SVG_EDGEMODE_WRAP 2 Corresponds to the wrap value.
SVG_EDGEMODE_NONE 3 Corresponds to none value.

Properties

This interface also inherits properties from its parent interface, SVGElement, and also implements properties of SVGFilterPrimitiveStandardAttributes.

SVGFEConvolveMatrixElement.in1 Read only
An SVGAnimatedString corresponding to the in attribute of the given element.
SVGFEConvolveMatrixElement.orderX Read only
An SVGAnimatedInteger corresponding to the order attribute of the given element.
SVGFEConvolveMatrixElement.orderY Read only
An SVGAnimatedInteger corresponding to the order attribute of the given element.
SVGFEConvolveMatrixElement.kernelMatrix Read only
An SVGAnimatedNumberList corresponding to the kernelMatrix attribute of the given element.
SVGFEConvolveMatrixElement.divisor Read only
An SVGAnimatedNumber corresponding to the divisor attribute of the given element.
SVGFEConvolveMatrixElement.bias Read only
An SVGAnimatedNumber corresponding to the bias attribute of the given element.
SVGFEConvolveMatrixElement.targetX Read only
An SVGAnimatedInteger corresponding to the targetX attribute of the given element.
SVGFEConvolveMatrixElement.targetY Read only
An SVGAnimatedInteger corresponding to the targetY attribute of the given element.
SVGFEConvolveMatrixElement.edgeMode Read only
An SVGAnimatedEnumeration corresponding to the edgeMode attribute of the given element. Takes one of the SVG_EDGEMODE_* constants defined on this interface.
SVGFEConvolveMatrixElement.kernelUnitLengthX Read only
An SVGAnimatedNumber corresponding to the kernelUnitLength attribute of the given element.
SVGFEConvolveMatrixElement.kernelUnitLengthY Read only
An SVGAnimatedNumber corresponding to the kernelUnitLength attribute of the given element.
SVGFEConvolveMatrixElement.preserveAlpha Read only
An SVGAnimatedBoolean corresponding to the preserveAlpha attribute of the given element.

Methods

This interface does not provide any specific methods, but implements those of its parent, SVGElement, and also implements methods of SVGFilterPrimitiveStandardAttributes.

Specifications

Specification Status Comment
Filter Effects Module Level 1
The definition of 'SVGFEConvolveMatrixElement' in that specification.
Working Draft No change
Scalable Vector Graphics (SVG) 1.1 (Second Edition)
The definition of 'SVGFEConvolveMatrixElement' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Chrome Edge Firefox (Gecko) Internet Explorer Opera Safari (WebKit)
Basic support (Yes) (Yes) (Yes) (Yes) (Yes) ?
Feature Android Edge Firefox Mobile (Gecko) IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ? ?

See also

文档标签和贡献者