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

Sets the start point for x-axis coordinate.

y1

Sets the start point for y-axis coordinate.

x2

Sets the end point for x-axis coordinate.

y2

Sets the end point for y-axis coordinate.

href

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

gradientUnits

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

spreadMethod

Specifies the behavior, if the gradient starts and ends in the bounds where it is being painted. The values are: "pad", "reflect", "repeat".