targetX
The targetX
attribute determines the positioning in horizontal direction of the convolution matrix relative to a given target pixel in the input image. The leftmost column of the matrix is column number zero. The value must be such that: 0
<= targetX
< order
X
.
You can use this attribute with the following SVG elements:
Usage notes
<integer>
-
This value indicates the positioning in horizontal direction of the convolution matrix relative to a given target pixel in the input image.
Specifications
Specification | Status | Comment |
---|---|---|
Filter Effects Module Level 1 The definition of 'targetX' in that specification. | Working Draft | No change |
Scalable Vector Graphics (SVG) 1.1 (Second Edition) The definition of 'targetX' in that specification. | Recommendation | Initial definition |
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 | |
targetX |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
? |
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/SVG/Attribute/targetX