MDN wants to learn about developers like you: https://qsurvey.mozilla.com/s3/MDN-dev-survey-2018-1

SVGFEConvolveMatrixElement

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

Document Tags and Contributors

 Contributors to this page: Sebastianz
 Last updated by: Sebastianz,