Class: Clutter::BehaviourPath
Overview
The Clutter::BehaviourPathClass struct contains only private data
Instance Method Summary collapse
-
#initialize(alpha, knots, n_knots) ⇒ Clutter::Behaviour
constructor
Creates a new path behaviour that will make the actors visit all of the given knots in order with straight lines in between.
-
#path ⇒ Clutter::Path
Path.
- #path=(path) ⇒ Clutter::Path
Methods inherited from Behaviour
#actors, #actors_foreach, #alpha, #alpha=, #apply, #get_nth_actor, #is_applied, #n_actors, #remove, #remove_all
Constructor Details
#initialize(alpha, knots, n_knots) ⇒ Clutter::Behaviour
Creates a new path behaviour that will make the actors visit all of the given knots in order with straight lines in between.
A path will be created where the first knot is used in a %CLUTTER_PATH_MOVE_TO and the subsequent knots are used in %CLUTTER_PATH_LINE_TOs.
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().