Skip to main content

composite_animation_value

Function composite_animation_value 

Source
fn composite_animation_value(
    underlying_value: &AnimationValue,
    keyframe_value: AnimationValue,
    composition: T,
) -> AnimationValue
Expand description

Composite a keyframe value with the underlying value according to the given composite operation.

https://drafts.csswg.org/web-animations-1/#applying-the-composite-operation