Function fade_to

Source
fn fade_to(img: &mut Frame, color: [u8; 4], f: f32)
Expand description

Mix the layer’s RGB towards color by f (FadeToColor transitions).