W3cubDocs

/DOM

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

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
Basic support Yes Yes Yes Yes Yes ?
Mobile
Android webview Chrome for Android Edge Mobile Firefox for Android Opera for Android iOS Safari Samsung Internet
Basic support Yes Yes ? ? Yes ? ?

See also

© 2005–2018 Mozilla Developer Network and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement