Clutter::Behaviour::Rotate.3pm

Langue: en

Autres versions - même langue

Version: 2008-02-20 (mandriva - 01/05/08)

Section: 3 (Bibliothèques de fonctions)

NAME

Clutter::Behaviour::Rotate

HIERARCHY

   Glib::Object
   +----Clutter::Behaviour
        +----Clutter::Behaviour::Rotate
 
 

METHODS


behaviour = Clutter::Behaviour::Rotate->new ($alpha=undef, $axis, $direction, $angle_begin, $angle_end)


behaviour = Clutter::Behaviour::Rotate->new ($alpha=undef, $axis, $direction, $angle_begin, $angle_end)

$alpha (Clutter::Alpha or undef)
$axis (Clutter::RotateAxis)
$direction (Clutter::RotateDirection)
$angle_begin (double)
$angle_end (double)

rotateaxis = $rotate->get_axis


rotateaxis = $rotate->get_axis


$rotate->set_axis ($axis)


$rotate->set_axis ($axis)

$axis (Clutter::RotateAxis)

(angle_begin, angle_end) = $rotate->get_bounds


(angle_begin, angle_end) = $rotate->get_bounds


$rotate->set_bounds ($angle_begin, $angle_end)


$rotate->set_bounds ($angle_begin, $angle_end)

$angle_begin (double)
$angle_end (double)

rotatedirection = $rotate->get_direction


rotatedirection = $rotate->get_direction


$rotate->set_direction ($direction)


$rotate->set_direction ($direction)

$direction (Clutter::RotateDirection)

PROPERTIES

'angle-end' (double : readable / writable / private)
Final angle
'angle-start' (double : readable / writable / private)
Initial angle
'axis' (Clutter::RotateAxis : readable / writable / private)
Axis of rotation
'center-x' (integer : readable / writable / private)
X center of rotation
'center-y' (integer : readable / writable / private)
Y center of rotation
'center-z' (integer : readable / writable / private)
Z center of rotation
'direction' (Clutter::RotateDirection : readable / writable / private)
Direction of rotation

ENUMS AND FLAGS


enum Clutter::RotateAxis

'x-axis' / 'CLUTTER_X_AXIS'
'y-axis' / 'CLUTTER_Y_AXIS'
'z-axis' / 'CLUTTER_Z_AXIS'

enum Clutter::RotateDirection

'cw' / 'CLUTTER_ROTATE_CW'
'ccw' / 'CLUTTER_ROTATE_CCW'

SEE ALSO

Clutter, Glib::Object, Clutter::Behaviour Copyright (C) 2006 OpenedHand Ltd.

This module is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public Library version 2.1, or under the terms of the Artistic License. See Clutter for the full copyright notice.