Clutter::Behaviour::Scale(3pm)

Clutter::Behaviour::Scale3pm

A behaviour controlling scale

Usage

    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
    );

Overview

Clutter::Behaviour::Scale interpolates actors scaling factors between two values.

Hierarchy

  Glib::Object
  +----Clutter::Behaviour
       +----Clutter::Behaviour::Scale

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'

Releases

2 releases since Debian 5.0 (Lenny); the text changed 1 time.

  1. 5.0
  2. 6.0

From libclutter-perl 1.002-1 in Debian 6.0 (Squeeze). Parsed by carta from the page's man source.