Clutter::Behaviour::Depth3pm
A behaviour controlling the z position
Usage
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();
Overview
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
Methods
behaviour = Clutter::Behaviour::Depth->new ($alpha=undef, $depth_start, $depth_end)
•
|
|
|---|---|
•
|
|
•
|
|
(start, end) = $behaviour->get_bounds
$behaviour->set_bounds ($start, $end)
•
|
|
|---|---|
•
|
|
Properties
'depth-end' (integer : readable / writable / private)
|
Final depth to apply |
|---|---|
'depth-start' (integer : readable / writable / private)
|
Initial depth to apply |
Releases
2 releases since Debian 5.0 (Lenny); the text changed 1 time.