Module palette::gradient[][src]

Types for interpolation between multiple colors.

This module is only available if the std feature is enabled (this is the default).

Modules

named

A collection of named gradient constants. Can be toggled with the "named_gradients" Cargo feature.

Structs

Gradient

A linear interpolation between colors.

Range

A domain range for gradient slices.

Slice

A slice of a Gradient that limits its domain.

Take

An iterator over interpolated colors.