Firefox Tomorrow

svg attribute

targetX

View on MDN ↗

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:

Usage notes

Value [`integer`](/firefox/mdn/css/reference/values/integer/)
Default value floor(x of `order` / 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

SpecificationsStandards references are available on the canonical MDN page.

Browser compatibility

Browser compatibilityCompatibility data is available on the canonical MDN page.

See also

  • targetY