xc:linear-gradient

Top Previous Topic Next Topic  Print this topic

Element describing a linear gradient.

 

Content

xc:stop

Element describing a stop point in the gradient.

 

Attributes

x1

Start point x-axis coordinate.

y1

Start point y-axis coordinate.

x2

End point x-axis coordinate.

y2

End point y-axis coordinate.

href

A URI reference to a different linear gradient element within the current document fragment.

gradientUnits

Defines the coordinate system for x1, y1, x2, y2.

spreadMethod

Behavior if the gradient starts and ends in the bounds where it's being painted. Values are: pad, reflect, repeat.