gradientTransform

« SVG Attribute reference home

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

Document Tags and Contributors

Contributors to this page: Jeremie
Last updated by: Jeremie,