Class: Clutter::BehaviourScale
Overview
The Clutter::BehaviourScaleClass struct contains only private data
Instance Method Summary collapse
-
#get_bounds(x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ nil
Retrieves the bounds used by scale behaviour.
-
#initialize(alpha, x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ Clutter::Behaviour
constructor
Creates a new Clutter::BehaviourScale instance.
-
#set_bounds(x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ nil
Sets the bounds used by scale behaviour.
-
#x_scale_end ⇒ Float
The final scaling factor on the X axis for the actors.
-
#x_scale_end=(x_scale_end) ⇒ Float
The final scaling factor on the X axis for the actors.
-
#x_scale_start ⇒ Float
The initial scaling factor on the X axis for the actors.
-
#x_scale_start=(x_scale_start) ⇒ Float
The initial scaling factor on the X axis for the actors.
-
#y_scale_end ⇒ Float
The final scaling factor on the Y axis for the actors.
-
#y_scale_end=(y_scale_end) ⇒ Float
The final scaling factor on the Y axis for the actors.
-
#y_scale_start ⇒ Float
The initial scaling factor on the Y axis for the actors.
-
#y_scale_start=(y_scale_start) ⇒ Float
The initial scaling factor on the Y axis for the actors.
Methods inherited from Behaviour
#actors, #actors_foreach, #alpha, #alpha=, #apply, #get_nth_actor, #is_applied, #n_actors, #remove, #remove_all
Constructor Details
#initialize(alpha, x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ Clutter::Behaviour
Creates a new Clutter::BehaviourScale instance.
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(x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ nil
Retrieves the bounds used by scale behaviour.
#set_bounds(x_scale_start, y_scale_start, x_scale_end, y_scale_end) ⇒ nil
Sets the bounds used by scale behaviour.
#x_scale_end ⇒ Float
The final scaling factor on the X axis for the actors.
#x_scale_end=(x_scale_end) ⇒ Float
The final scaling factor on the X axis for the actors.
#x_scale_start ⇒ Float
The initial scaling factor on the X axis for the actors.
#x_scale_start=(x_scale_start) ⇒ Float
The initial scaling factor on the X axis for the actors.
#y_scale_end ⇒ Float
The final scaling factor on the Y axis for the actors.
#y_scale_end=(y_scale_end) ⇒ Float
The final scaling factor on the Y axis for the actors.
#y_scale_start ⇒ Float
The initial scaling factor on the Y axis for the actors.
#y_scale_start=(y_scale_start) ⇒ Float
The initial scaling factor on the Y axis for the actors.