spreadMethod property

Gets a value that determines what happens if a gradient starts or ends inside the bounds of a target rectangle.

Scalable Vector Graphics: Gradients and Patterns, Section 13.4.1Internet Explorer 9

 

Syntax

JavaScript
p = object.spreadMethod

 

Property values

Type: Object

An unsigned integer that contains a value that corresponds to the fill method if the gradient starts or ends inside the bounds of the target rectangle.

Standards information

See also

SVGGradientElement
SVGLinearGradientElement
SVGRadialGradientElement

 

 

Show: