W3cubDocs

/SVG

gradientTransform

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.

Usage context

Categories None
Value <transform-list>
Animatable Yes
Normative document

Types of transform definition

To know more about the definition of transform types, see the transform attribute definition.

Example

Elements

The following elements can use the gradientTransform attribute

© 2005–2018 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