gradientTransform attribute | gradientTransform property
Gets a value that contains the definition of an optional, additional transformation from the gradient coordinate system onto the target coordinate system.
![]() ![]() |
Syntax
| HTML |
|---|
<element gradientTransform="p" ... > |
| JavaScript |
|---|
p = object.gradientTransform |
Property values
Type: Object
An SVGTransformList object that describes the transformation from the gradient coordinate system onto the target coordinate system.
Standards information
- Scalable Vector Graphics: Gradients and Patterns, Section 13.4.1
Remarks
The transformation matrix that the gradientTransform property defines is inserted to the right of any previously defined transformations, including the implicit transformation that is required to convert from object bounding box units to user space.
If you do not specify the gradientTransform property, the gradient effect will be as if an identity transform were used instead.
See also
Show:

