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.
-
SVGFEConvolveMatrixElement.biasRead only -
An
SVGAnimatedNumbercorresponding to thebiasattribute of the given element. -
SVGFEConvolveMatrixElement.divisorRead only -
An
SVGAnimatedNumbercorresponding to thedivisorattribute of the given element. -
SVGFEConvolveMatrixElement.edgeModeRead only -
An
SVGAnimatedEnumerationcorresponding to theedgeModeattribute of the given element. Takes one of theSVG_EDGEMODE_*constants defined on this interface. -
SVGFEConvolveMatrixElement.heightRead only -
An
SVGAnimatedLengthcorresponding to theheightattribute of the given element. -
SVGFEConvolveMatrixElement.in1Read only -
An
SVGAnimatedStringcorresponding to theinattribute of the given element. -
SVGFEConvolveMatrixElement.kernelMatrixRead only -
An
SVGAnimatedNumberListcorresponding to thekernelMatrixattribute of the given element. -
SVGFEConvolveMatrixElement.kernelUnitLengthXRead only -
An
SVGAnimatedNumbercorresponding to thekernelUnitLengthattribute of the given element. -
SVGFEConvolveMatrixElement.kernelUnitLengthYRead only -
An
SVGAnimatedNumbercorresponding to thekernelUnitLengthattribute of the given element. -
SVGFEConvolveMatrixElement.orderXRead only -
An
SVGAnimatedIntegercorresponding to theorderattribute of the given element. -
SVGFEConvolveMatrixElement.orderYRead only -
An
SVGAnimatedIntegercorresponding to theorderattribute of the given element. -
SVGFEConvolveMatrixElement.preserveAlphaRead only -
An
SVGAnimatedBooleancorresponding to thepreserveAlphaattribute of the given element. -
SVGFEConvolveMatrixElement.resultRead only -
An
SVGAnimatedStringcorresponding to theresultattribute of the given element. -
SVGFEConvolveMatrixElement.targetXRead only -
An
SVGAnimatedIntegercorresponding to thetargetXattribute of the given element. -
SVGFEConvolveMatrixElement.targetYRead only -
An
SVGAnimatedIntegercorresponding to thetargetYattribute of the given element. -
SVGFEConvolveMatrixElement.widthRead only -
An
SVGAnimatedLengthcorresponding to thewidthattribute of the given element. -
SVGFEConvolveMatrixElement.xRead only -
An
SVGAnimatedLengthcorresponding to thexattribute of the given element. -
SVGFEConvolveMatrixElement.yRead only -
An
SVGAnimatedLengthcorresponding to theyattribute of the given element.
Methods
This interface does not provide any specific methods, but implements those of its parent, SVGElement.
Specifications
Browser compatibility
| Desktop | Mobile | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Chrome | Edge | Firefox | Internet Explorer | Opera | Safari | WebView Android | Chrome Android | Firefox for Android | Opera Android | Safari on IOS | Samsung Internet | |
SVGFEConvolveMatrixElement |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
bias |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
divisor |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
edgeMode |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
in1 |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
kernelMatrix |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
kernelUnitLengthX |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
kernelUnitLengthY |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
orderX |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
orderY |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
preserveAlpha |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
targetX |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
targetY |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
height |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
result |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
width |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
x |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
y |
6 |
12 |
3 |
10 |
≤12.1 |
6 |
≤37 |
18 |
4 |
≤12.1 |
6 |
1.0 |
See also
© 2005–2021 MDN contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/API/SVGFEConvolveMatrixElement