[][src]Macro keyframe::keyframes

macro_rules! keyframes {
    () => { ... };
    ($($k: expr),*) => { ... };
}

Creates an animation sequence containing any arguments that can be made into keyframes

Note

While this macro can be used with Keyframe::new it's recommended to specify your keyframes with tuples (for shorter code) like this:

This example is not tested
keyframes![(0.0, 0.0), (0.5, 1.0), (1.0, 2.0), (1.5, 3.0, EaseOut), (2.0, 4.0)]