The
SVGGradient
interface is a base interface used by
SVGLinearGradientElement
and
SVGRadialGradientElement
.
Corresponds to value
pad.
Corresponds to value
reflect.
Corresponds to value
repeat.
The type is not one of predefined types. It is invalid to attempt to define a new value of this type or to attempt to switch an existing value to this type.
Corresponds to attribute
gradientTransform
on the given element.
Corresponds to attribute
gradientUnits
on the given element. Takes one of the constants defined in
SVGUnitTypes
.
Corresponds to attribute
spreadMethod
on the given element. One of the Spread Method Types defined on this interface.