Class: Clutter::BehaviourOpacity
Overview
The Clutter::BehaviourOpacityClass structure contains only private data
Instance Method Summary collapse
-
#get_bounds(opacity_start, opacity_end) ⇒ nil
Gets the initial and final levels of the opacity applied by behaviour on each actor it controls.
-
#initialize(alpha, opacity_start, opacity_end) ⇒ Clutter::Behaviour
constructor
Creates a new Clutter::BehaviourOpacity object, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity_start and opacity_end.
-
#opacity_end ⇒ Integer
Final opacity level of the behaviour.
-
#opacity_end=(opacity_end) ⇒ Integer
Final opacity level of the behaviour.
-
#opacity_start ⇒ Integer
Initial opacity level of the behaviour.
-
#opacity_start=(opacity_start) ⇒ Integer
Initial opacity level of the behaviour.
-
#set_bounds(opacity_start, opacity_end) ⇒ nil
Sets the initial and final levels of the opacity applied by behaviour on each actor it controls.
Methods inherited from Behaviour
#actors, #actors_foreach, #alpha, #alpha=, #apply, #get_nth_actor, #is_applied, #n_actors, #remove, #remove_all
Constructor Details
#initialize(alpha, opacity_start, opacity_end) ⇒ Clutter::Behaviour
Creates a new Clutter::BehaviourOpacity object, driven by alpha which controls the opacity property of every actor, making it change in the interval between opacity_start and opacity_end.
If alpha is not nil, the Clutter::Behaviour will take ownership of the Clutter::Alpha instance. In the case when alpha is nil, it can be set later with clutter_behaviour_set_alpha().
Instance Method Details
#get_bounds(opacity_start, opacity_end) ⇒ nil
Gets the initial and final levels of the opacity applied by behaviour on each actor it controls.
#opacity_end ⇒ Integer
Final opacity level of the behaviour.
#opacity_end=(opacity_end) ⇒ Integer
Final opacity level of the behaviour.
#opacity_start ⇒ Integer
Initial opacity level of the behaviour.
#opacity_start=(opacity_start) ⇒ Integer
Initial opacity level of the behaviour.
#set_bounds(opacity_start, opacity_end) ⇒ nil
Sets the initial and final levels of the opacity applied by behaviour on each actor it controls.