Module iced::widget::canvas::gradient

source ·
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

Enums

  • A fill which linearly interpolates colors along a direction.

Functions

  • Creates a new Packed gradient for use in shader code.