Emmanuele Bassi > Clutter > xs/ClutterBehaviourOpacity.xs

Download:
Clutter-1.002.tar.gz

Annotate this POD

CPAN RT

New  2
Open  2
View Bugs
Report a bug
Source  

SYNOPSIS ^

    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.

SEE ALSO ^

Clutter::Behaviour, Clutter::Alpha