Back to Seed Clases

Clutter


Classes

Interfaces

Structs

Unions

Enums

Enum Clutter.Gravity

Import line: Clutter = imports.gi.Clutter;
GIR File: Clutter-1.0.gir
C documentation: ClutterGravity
Enum : Gravity
Gravity of the scaling operations. When a gravity different than
CLUTTER_GRAVITY_NONE is used, an actor is scaled keeping the position
of the specified portion at the same coordinates.
Values
Properties
Properties
None
Public Methods
None
Events
None
Used by These Methods / Signals / Properties
Class / Namespace Method / Signal / Properties
Clutter.Actor
Property
anchor_gravity : Clutter.Gravity
The anchor point expressed as a ClutterGravity
Clutter.Actor
Property
rotation_center_z_gravity : Clutter.Gravity
The rotation center on the Z axis expressed as a ClutterGravity.
Clutter.Actor
Property
scale_gravity : Clutter.Gravity
The center point for scaling expressed as a ClutterGravity
Clutter.Actor
Method
get_anchor_point_gravity () : Clutter.Gravity
Retrieves the anchor position expressed as a ClutterGravity.
Clutter.Actor
Method
get_scale_gravity () : Clutter.Gravity
Retrieves the scale center as a compass direction.
Clutter.Actor
Method
get_z_rotation_gravity () : Clutter.Gravity
Retrieves the center for the rotation around the Z axis as a
compass direction.
Clutter.Actor
Method
move_anchor_point_from_gravity (Gravity gravity) : none
Sets an anchor point on the actor based on the given gravity, adjusting the
actor postion so that its relative position within its parent remains
unchanged.
Clutter.Actor
Method
set_anchor_point_from_gravity (Gravity gravity) : none
Sets an anchor point on the actor, based on the given gravity (this is a
convenience function wrapping clutter_actor_set_anchor_point()).
Clutter.Actor
Method
set_scale_with_gravity (gdouble scale_x, gdouble scale_y, Gravity gravity) : none
Scales an actor with the given factors around the given
center point.
Clutter.Actor
Method
set_z_rotation_from_gravity (gdouble angle, Gravity gravity) : none
Sets the rotation angle of self around the Z axis using the center
point specified as a compass point.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Sat Apr 16 2011 17:09:49 GMT+0800 (HKT)