Module gradient

Source
Expand description

CSS gradient values.

Structs§

ColorStop
A <color-stop> within a gradient.
ConicGradient
A CSS conic-gradient() or repeating-conic-gradient().
LinearGradient
A CSS linear-gradient() or repeating-linear-gradient().
RadialGradient
A CSS radial-gradient() or repeating-radial-gradient().
WebKitColorStop
A color stop within a legacy -webkit-gradient().
WebKitGradientPoint
An x/y position within a legacy -webkit-gradient().

Enums§

Circle
A circle ending shape for a radial-gradient().
Ellipse
An ellipse ending shape for a radial-gradient().
EndingShape
A radial-gradient() ending shape.
Gradient
A CSS <gradient> value.
GradientItem
Either a color stop or interpolation hint within a gradient.
LineDirection
The direction of a CSS linear-gradient().
ShapeExtent
A shape extent for a radial-gradient().
WebKitGradient
A legacy -webkit-gradient().
WebKitGradientPointComponent
A keyword or number within a WebKitGradientPoint.