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 < x of order.
You can use this attribute with the following SVG elements:
- feConvolveMatrix
Usage notes
<table class="properties"> <tbody> <tr> <th scope="row">Value</th> <td>integer</td> </tr> <tr> <th scope="row">Default value</th> <td><code>floor(<code>x</code> of order / 2)</code></td> </tr> <tr> <th scope="row">Animatable</th> <td>Yes</td> </tr> </tbody> </table>
<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 compatibility
See also
- targetY
来源:MDN Web Docs / Mozilla 贡献者 · 作者与贡献记录 · CC BY-SA 2.5。离线整理了版式、链接和媒体显示。
