cosmic::widget::canvas

Module gradient

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