W3cubDocs

/SVG

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 < orderX.

Only one element is using this attribute: <feConvolveMatrix>

Usage notes

Value <integer>
Default value floor(orderX / 2)
Animatable Yes
<integer>
This value indicates the positioning in horizontal direction of the convolution matrix relative to a given target pixel in the input image.

Specifications

Browser compatibilityUpdate compatibility data on GitHub

Desktop
Chrome Edge Firefox Internet Explorer Opera Safari
targetX ? ? ? ? ? ?
Mobile
Android webview Chrome for Android Firefox for Android Opera for Android Safari on iOS Samsung Internet
targetX ? ? ? ? ? ?

See also

© 2005–2020 Mozilla and individual contributors.
Licensed under the Creative Commons Attribution-ShareAlike License v2.5 or later.
https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/targetX