Class: Clutter::KeyframeTransition
- Inherits:
-
PropertyTransition
- Object
- Timeline
- Transition
- PropertyTransition
- Clutter::KeyframeTransition
- Defined in:
- (unknown)
Overview
The ClutterKeyframeTransitionClass structure contains only
private data.
Instance Method Summary collapse
-
#clear ⇒ nil
Removes all key frames from transition.
-
#get_key_frame(index_, key, mode, value) ⇒ nil
Retrieves the details of the key frame at index_ inside transition.
-
#initialize(property_name) ⇒ Clutter::Transition
constructor
Creates a new Clutter::KeyframeTransition for property_name.
-
#n_key_frames ⇒ Integer
Retrieves the number of key frames inside transition.
-
#set(gtype, n_key_frames, array) ⇒ nil
Sets the key frames of the transition.
-
#set_key_frame(index_, key, mode, value) ⇒ nil
Sets the details of the key frame at index_ inside transition.
-
#set_key_frames(n_key_frames, key_frames) ⇒ nil
Sets the keys for each key frame inside transition.
-
#set_modes(n_modes, modes) ⇒ nil
Sets the easing modes for each key frame inside transition.
-
#set_values(n_values, values) ⇒ nil
Sets the values for each key frame inside transition.
Methods inherited from PropertyTransition
#property_name, #property_name=
Methods inherited from Transition
#animatable, #animatable=, #from_value=, #interval, #interval=, #remove_on_complete, #remove_on_complete=, #remove_on_complete?, #set_from, #set_to, #to_value=
Methods inherited from Timeline
#add_marker, #add_marker_at_time, #advance, #advance_to_marker, #auto_reverse, #auto_reverse=, #auto_reverse?, #clone, #current_repeat, #delay, #delay=, #delta, #direction, #direction=, #duration, #duration=, #duration_hint, #elapsed_time, #get_cubic_bezier_progress, #get_step_progress, #has_marker, #is_playing, #list_markers, #loop, #loop=, #loop?, #pause, #progress, #progress_mode, #progress_mode=, #remove_marker, #repeat_count, #repeat_count=, #rewind, #set_cubic_bezier_progress, #set_progress_func, #set_step_progress, #skip, #start, #stop
Constructor Details
#initialize(property_name) ⇒ Clutter::Transition
Creates a new Clutter::KeyframeTransition for property_name.
Instance Method Details
#clear ⇒ nil
Removes all key frames from transition.
#get_key_frame(index_, key, mode, value) ⇒ nil
Retrieves the details of the key frame at index_ inside transition.
The transition must already have key frames set, and index_ must be smaller than the number of key frames.
#n_key_frames ⇒ Integer
Retrieves the number of key frames inside transition.
#set(gtype, n_key_frames, array) ⇒ nil
Sets the key frames of the transition.
This variadic arguments function is a convenience for C developers; language bindings should use clutter_keyframe_transition_set_key_frames(), clutter_keyframe_transition_set_modes(), and clutter_keyframe_transition_set_values() instead.
#set_key_frame(index_, key, mode, value) ⇒ nil
Sets the details of the key frame at index_ inside transition.
The transition must already have a key frame at index_, and index_ must be smaller than the number of key frames inside transition.
#set_key_frames(n_key_frames, key_frames) ⇒ nil
Sets the keys for each key frame inside transition.
If transition does not hold any key frame, n_key_frames key frames will be created; if transition already has key frames, key_frames must have at least as many elements as the number of key frames.
#set_modes(n_modes, modes) ⇒ nil
Sets the easing modes for each key frame inside transition.
If transition does not hold any key frame, n_modes key frames will be created; if transition already has key frames, modes must have at least as many elements as the number of key frames.
#set_values(n_values, values) ⇒ nil
Sets the values for each key frame inside transition.
If transition does not hold any key frame, n_values key frames will be created; if transition already has key frames, values must have at least as many elements as the number of key frames.