Rechercher une page de manuel
Clutter::Behaviour::Depth.3pm
Langue: en
Version: 2010-08-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Clutter::Behaviour::Depth - A behaviour controlling the Z positionSYNOPSIS
my $behaviour = Clutter::Behaviour::Depth->new(); $behaviour->set_alpha(Clutter::Alpha->new($timeline, 'ease-in-sine')); $behaviour->set_bounds(-200, 200); $behaviour->apply($rectangle); $behaviour->apply($texture); $timeline->start();
DESCRIPTION
Clutter::Behaviour::Depth is a simple Clutter::Behaviour controlling the depth of a set of actors between a start and end value.HIERARCHY
Glib::Object +----Clutter::Behaviour +----Clutter::Behaviour::Depth
INTERFACES
Glib::Object::_Unregistered::ClutterScriptable
METHODS
behaviour = Clutter::Behaviour::Depth->new ($alpha=undef, $depth_start, $depth_end)
- •
- $alpha (Clutter::Alpha or undef)
- •
- $depth_start (integer)
- •
- $depth_end (integer)
(start, end) = $behaviour->get_bounds
$behaviour->set_bounds ($start, $end)
- •
- $start (integer)
- •
- $end (integer)
PROPERTIES
- 'depth-end' (integer : readable / writable / private)
- Final depth to apply
- 'depth-start' (integer : readable / writable / private)
- Initial depth to apply
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