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.bias Read only

An SVGAnimatedNumber corresponding to the bias attribute of the given element.

SVGFEConvolveMatrixElement.divisor Read only

An SVGAnimatedNumber corresponding to the divisor 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.height Read only

An SVGAnimatedLength corresponding to the height attribute of the given element.

SVGFEConvolveMatrixElement.in1 Read only

An SVGAnimatedString corresponding to the in attribute of the given element.

SVGFEConvolveMatrixElement.kernelMatrix Read only

An SVGAnimatedNumberList corresponding to the kernelMatrix attribute of the given element.

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.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.preserveAlpha Read only

An SVGAnimatedBoolean corresponding to the preserveAlpha attribute of the given element.

SVGFEConvolveMatrixElement.result Read only

An SVGAnimatedString corresponding to the result 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.width Read only

An SVGAnimatedLength corresponding to the width attribute of the given element.

SVGFEConvolveMatrixElement.x Read only

An SVGAnimatedLength corresponding to the x attribute of the given element.

SVGFEConvolveMatrixElement.y Read only

An SVGAnimatedLength corresponding to the y attribute 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