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
  Show / Hide Inherited methods, properties and signals
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
set_z_rotation_from_gravity (Number angle, Gravity gravity) : none
Sets the rotation angle of self around the Z axis using the center point specified as a compass point.
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
set_scale_with_gravity (Number scale_x, Number scale_y, Gravity gravity) : none
direction.
Clutter.Actor
Method
get_scale_gravity () : Clutter.Gravity
Retrieves the scale center as a compass direction.
Clutter.Actor
Method
get_anchor_point_gravity () : Clutter.Gravity
Retrieves the anchor position expressed as a ClutterGravity.
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
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.
Documentation generated by Introspection Doc Generator Loosely Based on JsDoc Toolkit on Tue Jun 22 2010 16:32:38 GMT+0800 (HKT)