Skip to main content

interpolate_value

Function interpolate_value 

Source
pub fn interpolate_value(
    from: &CssValue,
    to: &CssValue,
    t: f32,
    color_scheme: ColorScheme,
) -> Option<CssValue>
Expand description

Interpolate between two CSS values for supported animatable properties. Returns None when interpolation is not supported (caller should snap).