[−][src]Trait duku::Mix
Trait to get color values in-between two.
Required methods
pub fn mix(from: Self, to: Self, p: f32) -> Self
[src]
Calculate color between from
and to
at point p
in range 0 to 1