a
b
c
cx
cy
d
dx
dy
e
f
fx
fy
id
in1
in2
k1
k2
k3
k4
r1
r2
x
x1
x2
y
y1
y2
z
Expand Minimize

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.

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.1

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

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

SVGGradientElement
SVGLinearGradientElement
SVGRadialGradientElement

 

 

Show:
© 2014 Microsoft