The gradientTransform
attribute contains the definition of an optional additional transformation from the gradient coordinate system onto the target coordinate system (i.e., userSpaceOnUse or objectBoundingBox). This allows for things such as skewing the gradient. This additional transformation matrix is post-multiplied to (i.e., inserted to the right of) any previously defined transformations, including the implicit transformation necessary to convert from object bounding box units to user space.
If attribute gradientTransform
is not specified, then the effect is as if an identity transform were specified.
Categories | None |
---|---|
Value | <transform-list> |
Animatable | Yes |
Normative document |
To know more about the definition of transform types, see the transform
attribute definition.
The following elements can use the gradientTransform
attribute
© 2005–2017 Mozilla Developer Network 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/gradientTransform