animate_with_timeline


Description:

[ Version ( deprecated = true , deprecated_since = "1.12" , since = "1.0" ) ]
public unowned Animation animate_with_timeline (ulong mode, Timeline timeline, ...)

Warning: animate_with_timeline 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.

Note:

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.

Parameters:

this

a Actor

mode

an animation mode logical id

timeline

a Timeline

...

a null terminated list of property names and property values

first_property_name

the name of a property

Returns:

a Animation object. The object is owned by the Actor and should not be unreferenced with unref




2022 vala-language.org