Rechercher une page de manuel
Clutter::Behaviour::Opacity.3pm
Langue: en
Version: 2010-08-25 (ubuntu - 24/10/10)
Section: 3 (Bibliothèques de fonctions)
Sommaire
NAME
Clutter::Behaviour::Opacity - A behaviour controlling opacitySYNOPSIS
my $behaviour = Clutter::Behaviour::Opacity->new(); $behaviour->set_alpha(Clutter::Alpha->new($timeline, 'linear')); $behaviour->set_bounds(255, 0); # fade out $behaviour->apply($actor); $timeline->start();
DESCRIPTION
Clutter::Behaviour::Opacity interpolates the opacity of the actors to which it has been applied between two values.HIERARCHY
Glib::Object +----Clutter::Behaviour +----Clutter::Behaviour::Opacity
INTERFACES
Glib::Object::_Unregistered::ClutterScriptable
METHODS
behaviour = Clutter::Behaviour::Opacity->new ($alpha=undef, $opacity_start, $opacity_end)
- •
- $alpha (Clutter::Alpha or undef)
- •
- $opacity_start (unsigned)
- •
- $opacity_end (unsigned)
(start, end) = $behaviour->get_bounds
$behaviour->set_bounds ($start, $end)
- •
- $start (unsigned)
- •
- $end (unsigned)
PROPERTIES
- 'opacity-end' (Glib::UInt : readable / writable / private)
- Final opacity level
- 'opacity-start' (Glib::UInt : readable / writable / private)
- Initial opacity level
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