Rechercher une page de manuel
Clutter::Behaviour::Scale.3pm
Langue: en
Version: 2010-08-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Clutter::Behaviour::Scale - A behaviour controlling scaleSYNOPSIS
my $behaviour = Clutter::Behaviour::Scale->new( Clutter::Alpha->new($timeline, 'ease-in-quad'), 1.0, 1.0, # initial scaling factors 2.0, 2.0, # final scaling factors );
DESCRIPTION
Clutter::Behaviour::Scale interpolates actors scaling factors between two values.HIERARCHY
Glib::Object +----Clutter::Behaviour +----Clutter::Behaviour::Scale
INTERFACES
Glib::Object::_Unregistered::ClutterScriptable
METHODS
behaviour = Clutter::Behaviour::Scale->new ($alpha=undef, $x_start, $y_start, $x_end, $y_end)
- •
- $alpha (Clutter::Alpha or undef)
- •
- $x_start (double)
- •
- $y_start (double)
- •
- $x_end (double)
- •
- $y_end (double)
(x_start, y_start, x_end, y_end) = $scale->get_bounds
$scale->set_bounds ($x_start, $y_start, $x_end, $y_end)
- •
- $x_start (double)
- •
- $y_start (double)
- •
- $x_end (double)
- •
- $y_end (double)
PROPERTIES
- 'x-scale-end' (double : readable / writable / private)
- Final scale on the X axis
- 'x-scale-start' (double : readable / writable / private)
- Initial scale on the X axis
- 'y-scale-end' (double : readable / writable / private)
- Final scale on the Y axis
- 'y-scale-start' (double : readable / writable / private)
- Initial scale on the Y axis
ENUMS AND FLAGS
enum Clutter::Gravity
- •
- 'none' / 'CLUTTER_GRAVITY_NONE'
- •
- 'north' / 'CLUTTER_GRAVITY_NORTH'
- •
- 'north-east' / 'CLUTTER_GRAVITY_NORTH_EAST'
- •
- 'east' / 'CLUTTER_GRAVITY_EAST'
- •
- 'south-east' / 'CLUTTER_GRAVITY_SOUTH_EAST'
- •
- 'south' / 'CLUTTER_GRAVITY_SOUTH'
- •
- 'south-west' / 'CLUTTER_GRAVITY_SOUTH_WEST'
- •
- 'west' / 'CLUTTER_GRAVITY_WEST'
- •
- 'north-west' / 'CLUTTER_GRAVITY_NORTH_WEST'
- •
- 'center' / 'CLUTTER_GRAVITY_CENTER'
SEE ALSO
Clutter::Behaviour, Clutter::AlphaCOPYRIGHT
Copyright (C) 2006, 2007, 2008 OpenedHand LtdCopyright (C) 2009 Intel Corporation
This module is free software; you can redistribute it and/or modify it under the terms of either:
- •
- the GNU Lesser General Public Library version 2.1; or
- •
- the Artistic License, version 2.0.
See Clutter for the full copyright notice.
Contenus ©2006-2024 Benjamin Poulain
Design ©2006-2024 Maxime Vantorre