animate_with_timelinev
Description:
public unowned Animation animate_with_timelinev (ulong mode, Timeline timeline, string[] properties, Value[] values)
Warning: animate_with_timelinev is deprecated since 1.12.
Animates the given list of properties of this between the current value for each property and a new final value.
Use the implicit transition for animatable properties in Actor instead.
See save_easing_state, set_easing_mode, set_easing_duration, set_easing_delay, and restore_easing_state.
The animation has a definite duration given by timeline
and a speed given by the mode
.
See animate for further details.
This function is useful if you want to use an existing timeline to animate this.
This is the vector-based variant of animate_with_timeline, useful for language bindings.
Unlike animate_with_timeline, this function will not allow you to specify "signal::" names and callbacks.
Parameters:
this |
a Actor |
mode |
an animation mode logical id |
timeline |
a Timeline |
properties |
a vector containing the property names to set |
values |
a vector containing the property values to set |
n_properties |
number of property names and values |
Returns:
a Animation object. The object is owned by the Actor and should not be unreferenced with unref |