Class: Clutter::Animator
- Inherits:
-
Object
- Object
- Clutter::Animator
- Defined in:
- (unknown)
Overview
The Clutter::AnimatorClass structure contains only private data
Instance Method Summary collapse
-
#compute_value(object, property_name, progress, value) ⇒ Boolean
Compute the value for a managed property at a given progress.
-
#duration ⇒ Integer
The duration of the Clutter::Timeline used by the #ClutterAnimator to drive the animation.
-
#duration=(duration) ⇒ Integer
The duration of the Clutter::Timeline used by the #ClutterAnimator to drive the animation.
-
#get_keys(object, property_name, progress) ⇒ GLib::List<Clutter::AnimatorKey>
Returns a list of pointers to opaque structures with accessor functions that describe the keys added to an animator.
-
#initialize ⇒ Clutter::Animator
constructor
Creates a new Clutter::Animator instance.
-
#property_get_ease_in(object, property_name) ⇒ Boolean
Checks if a property value is to be eased into the animation.
-
#property_get_interpolation(object, property_name) ⇒ Clutter::Interpolation
Get the interpolation used by animator for a property on a particular object.
-
#property_set_ease_in(object, property_name, ease_in) ⇒ nil
Sets whether a property value is to be eased into the animation.
-
#property_set_interpolation(object, property_name, interpolation) ⇒ nil
Set the interpolation method to use, %CLUTTER_INTERPOLATION_LINEAR causes the values to linearly change between the values, and %CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between the values.
-
#remove_key(object, property_name, progress) ⇒ nil
Removes all keys matching the conditions specificed in the arguments.
-
#set(first_object, first_property_name, first_mode, first_progress, array) ⇒ nil
Adds multiple keys to a Clutter::Animator, specifying the value a given property should have at a given progress of the animation.
-
#set_key(object, property_name, mode, progress, value) ⇒ Clutter::Animator
Sets a single key in the Clutter::Animator for the property_name of object at progress.
-
#start ⇒ Clutter::Timeline
Start the ClutterAnimator, this is a thin wrapper that rewinds and starts the animators current timeline.
-
#timeline ⇒ Clutter::Timeline
The Clutter::Timeline used by the #ClutterAnimator to drive the animation.
-
#timeline=(timeline) ⇒ Clutter::Timeline
The Clutter::Timeline used by the #ClutterAnimator to drive the animation.
Constructor Details
#initialize ⇒ Clutter::Animator
Creates a new Clutter::Animator instance
Instance Method Details
#compute_value(object, property_name, progress, value) ⇒ Boolean
Compute the value for a managed property at a given progress.
If the property is an ease-in property, the current value of the property on the object will be used as the starting point for computation.
#duration ⇒ Integer
The duration of the Clutter::Timeline used by the #ClutterAnimator to drive the animation
#duration=(duration) ⇒ Integer
The duration of the Clutter::Timeline used by the #ClutterAnimator to drive the animation
#get_keys(object, property_name, progress) ⇒ GLib::List<Clutter::AnimatorKey>
Returns a list of pointers to opaque structures with accessor functions that describe the keys added to an animator.
#property_get_ease_in(object, property_name) ⇒ Boolean
Checks if a property value is to be eased into the animation.
#property_get_interpolation(object, property_name) ⇒ Clutter::Interpolation
Get the interpolation used by animator for a property on a particular object.
#property_set_ease_in(object, property_name, ease_in) ⇒ nil
Sets whether a property value is to be eased into the animation.
#property_set_interpolation(object, property_name, interpolation) ⇒ nil
Set the interpolation method to use, %CLUTTER_INTERPOLATION_LINEAR causes the values to linearly change between the values, and %CLUTTER_INTERPOLATION_CUBIC causes the values to smoothly change between the values.
#remove_key(object, property_name, progress) ⇒ nil
Removes all keys matching the conditions specificed in the arguments.
#set(first_object, first_property_name, first_mode, first_progress, array) ⇒ nil
Adds multiple keys to a Clutter::Animator, specifying the value a given property should have at a given progress of the animation. The mode specified is the mode used when going to this key from the previous key of the property_name
If a given (object, property, progress) tuple already exist the mode and value will be replaced with the new values.
#set_key(object, property_name, mode, progress, value) ⇒ Clutter::Animator
Sets a single key in the Clutter::Animator for the property_name of object at progress.
See also: clutter_animator_set()
#start ⇒ Clutter::Timeline
Start the ClutterAnimator, this is a thin wrapper that rewinds and starts the animators current timeline.
#timeline ⇒ Clutter::Timeline
The Clutter::Timeline used by the #ClutterAnimator to drive the animation
#timeline=(timeline) ⇒ Clutter::Timeline
The Clutter::Timeline used by the #ClutterAnimator to drive the animation