GObject.Object
Clutter.Behaviour
Clutter.BehaviourEllipse
Import line: | Clutter = imports.gi.Clutter; |
GIR File: | Clutter-1.0.gir |
C documentation: | ClutterBehaviourEllipse |
Class : | BehaviourEllipse |
Implements: | Clutter.Scriptable |
Extends: | Clutter.Behaviour |
Show / Hide Inherited methods, properties and signals |
Properties | Defined By | |
---|---|---|
alpha : Clutter.Alpha
The ClutterAlpha object used to drive this behaviour.
The ClutterAlpha object used to drive this behaviour. A ClutterAlpha object binds a ClutterTimeline and a function which computes a value (the "alpha") depending on the time. Each time the alpha value changes the alpha-notify virtual function is called.
|
Clutter.Behaviour | |
angle_end : Number
The final angle to where the rotation should end.
The final angle to where the rotation should end.
|
Clutter.BehaviourEllipse | |
angle_start : Number
The initial angle from where the rotation should start.
The initial angle from where the rotation should start.
|
Clutter.BehaviourEllipse | |
angle_tilt_x : Number
The tilt angle for the rotation around center in X axis
The tilt angle for the rotation around center in X axis
|
Clutter.BehaviourEllipse | |
angle_tilt_y : Number
The tilt angle for the rotation around center in Y axis
The tilt angle for the rotation around center in Y axis
|
Clutter.BehaviourEllipse | |
angle_tilt_z : Number
The tilt angle for the rotation on the Z axis
The tilt angle for the rotation on the Z axis
|
Clutter.BehaviourEllipse | |
center : Clutter.Knot
The center of the ellipse.
The center of the ellipse.
|
Clutter.BehaviourEllipse | |
direction : Clutter.RotateDirection
The direction of the rotation.
The direction of the rotation.
|
Clutter.BehaviourEllipse | |
height : Number
Height of the ellipse, in pixels
Height of the ellipse, in pixels
|
Clutter.BehaviourEllipse | |
parent : GObject.Object
read only
|
Clutter.Behaviour | |
parent_instance : Clutter.Behaviour
read only
|
Clutter.BehaviourEllipse | |
priv : Clutter.BehaviourEllipsePrivate
read only
|
Clutter.BehaviourEllipse | |
width : Number
Width of the ellipse, in pixels
Width of the ellipse, in pixels
|
Clutter.BehaviourEllipse |
Method / Constructor | Defined By | |
---|---|---|
new Clutter.BehaviourEllipse
(Object properties)
Create a new Clutter.BehaviourEllipse
Create a new Clutter.BehaviourEllipse
|
||
new Clutter.BehaviourEllipse.c_new
(Alpha alpha, Number x, Number y, Number width, Number height, RotateDirection direction, Number start, Number end)
:
Clutter.BehaviourEllipse
Create a new Clutter.BehaviourEllipse
Create a new Clutter.BehaviourEllipse
|
||
Clutter.Behaviour | ||
apply
(Actor actor)
:
none
Applies behave to actor.
Applies behave to actor. This function adds a reference on the actor.
|
Clutter.Behaviour | |
get_actors
()
:
Array
Retrieves all the actors to which behave applies.
Retrieves all the actors to which behave applies. It is not recommended for derived classes to use this in there alpha notify method but use clutter_behaviour_actors_foreach as it avoids alot of needless allocations.
|
Clutter.Behaviour | |
get_alpha
()
:
Clutter.Alpha
Retrieves the ClutterAlpha object bound to behave.
Retrieves the ClutterAlpha object bound to behave.
|
Clutter.Behaviour | |
get_angle_end
()
:
Number
Gets the at which movements ends.
Gets the at which movements ends.
|
Clutter.BehaviourEllipse | |
get_angle_start
()
:
Number
Gets the angle at which movements starts.
Gets the angle at which movements starts.
|
Clutter.BehaviourEllipse | |
get_angle_tilt
(RotateAxis axis)
:
Number
Gets the tilt of the ellipse around the center in the given axis.
Gets the tilt of the ellipse around the center in the given axis.
|
Clutter.BehaviourEllipse | |
get_center
()
:
Object
|
Clutter.BehaviourEllipse | |
get_direction
()
:
Clutter.RotateDirection
Retrieves the ClutterRotateDirection used by the ellipse behaviour.
Retrieves the ClutterRotateDirection used by the ellipse behaviour.
|
Clutter.BehaviourEllipse | |
get_height
()
:
Number
Gets the height of the elliptical path.
Gets the height of the elliptical path.
|
Clutter.BehaviourEllipse | |
get_id
()
:
String
Retrieves the id of scriptable set using clutter_scriptable_set_id().
Retrieves the id of scriptable set using clutter_scriptable_set_id().
|
Clutter.Scriptable | |
get_n_actors
()
:
Number
Gets the number of actors this behaviour is applied too.
Gets the number of actors this behaviour is applied too.
|
Clutter.Behaviour | |
get_nth_actor
(Number index_)
:
Clutter.Actor
Gets an actor the behaviour was applied to referenced by index num.
Gets an actor the behaviour was applied to referenced by index num.
|
Clutter.Behaviour | |
get_tilt
()
:
Object
|
Clutter.BehaviourEllipse | |
get_width
()
:
Number
Gets the width of the elliptical path.
Gets the width of the elliptical path.
|
Clutter.BehaviourEllipse | |
Check if behave applied to actor.
Check if behave applied to actor.
|
Clutter.Behaviour | |
Parses the passed JSON node.
Parses the passed JSON node. The implementation must set the type of the passed GValue pointer using g_value_init().
|
Clutter.Scriptable | |
remove
(Actor actor)
:
none
Removes actor from the list of ClutterActors to which
Removes actor from the list of ClutterActors to which
|
Clutter.Behaviour | |
remove_all
()
:
none
Removes every actor from the list that behave holds.
Removes every actor from the list that behave holds.
|
Clutter.Behaviour | |
set_alpha
(Alpha alpha)
:
none
Binds alpha to a ClutterBehaviour.
Binds alpha to a ClutterBehaviour. The ClutterAlpha object used by ClutterAlpha a new value of the alpha parameter is computed by the alpha function; the value should be used by the ClutterBehaviour to update one or more properties of the actors to which the behaviour applies. If alpha is not NULL, the ClutterBehaviour will take ownership of the ClutterAlpha instance.
|
Clutter.Behaviour | |
set_angle_end
(Number angle_end)
:
none
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360).
Sets the angle at which movement ends; angles >= 360 degress get clamped to the canonical interval <0, 360).
|
Clutter.BehaviourEllipse | |
set_angle_start
(Number angle_start)
:
none
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360).
Sets the angle at which movement starts; angles >= 360 degress get clamped to the canonical interval <0, 360).
|
Clutter.BehaviourEllipse | |
set_angle_tilt
(RotateAxis axis, Number angle_tilt)
:
none
degrees.
degrees. Sets the angle at which the ellipse should be tilted around it's center.
|
Clutter.BehaviourEllipse | |
Clutter.BehaviourEllipse | ||
Overrides the common properties setting.
Overrides the common properties setting. The underlying virtual function should be used when implementing custom properties.
|
Clutter.Scriptable | |
set_direction
(RotateDirection direction)
:
none
Sets the rotation direction used by the ellipse behaviour.
Sets the rotation direction used by the ellipse behaviour.
|
Clutter.BehaviourEllipse | |
set_height
(Number height)
:
none
Sets the height of the elliptical path.
Sets the height of the elliptical path.
|
Clutter.BehaviourEllipse | |
set_id
(String id)
:
none
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface.
Sets id as the unique Clutter script it for this instance of ClutterScriptableIface. This name can be used by user interface designer applications to define a unique name for an object constructable using the UI definition language parsed by ClutterScript.
|
Clutter.Scriptable | |
Clutter.BehaviourEllipse | ||
set_width
(Number width)
:
none
Sets the width of the elliptical path.
Sets the width of the elliptical path.
|
Clutter.BehaviourEllipse |
Event | Defined By | |
---|---|---|
The ::apply signal is emitted each time the behaviour is applied to an actor.
The ::apply signal is emitted each time the behaviour is applied to an actor.
|
Clutter.Behaviour | |
The ::removed signal is emitted each time a behaviour is not applied to an actor anymore.
The ::removed signal is emitted each time a behaviour is not applied to an actor anymore.
|
Clutter.Behaviour |