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

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.1

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:
© 2014 Microsoft