Available on crate feature
canvas
only.Expand description
A gradient that can be used as a fill for some geometry.
For a gradient that you can use as a background variant for a widget, see Gradient
.
Structs§
- A linear gradient.
- Packed
Gradient
data for use in shader code.
Enums§
- A fill which linearly interpolates colors along a direction.
Functions§
- Creates a new
Packed
gradient for use in shader code.