Clutter::Behaviour::Scale(3pm)
NAME
Clutter::Behaviour::Scale - A behaviour controlling scale
SYNOPSIS
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
);
DESCRIPTION
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) o $alpha (Clutter::Alpha or undef)
- o $x_start (double)
- o $y_start (double)
- o $x_end (double)
- o $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)
- o $x_start (double)
- o $y_start (double)
- o $x_end (double)
- o $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
- o 'none' / 'CLUTTER_GRAVITY_NONE'
- o 'north' / 'CLUTTER_GRAVITY_NORTH'
- o 'north-east' / 'CLUTTER_GRAVITY_NORTH_EAST'
- o 'east' / 'CLUTTER_GRAVITY_EAST'
- o 'south-east' / 'CLUTTER_GRAVITY_SOUTH_EAST'
- o 'south' / 'CLUTTER_GRAVITY_SOUTH'
- o 'south-west' / 'CLUTTER_GRAVITY_SOUTH_WEST'
- o 'west' / 'CLUTTER_GRAVITY_WEST'
- o 'north-west' / 'CLUTTER_GRAVITY_NORTH_WEST'
- o 'center' / 'CLUTTER_GRAVITY_CENTER'
SEE ALSO
Clutter::Behaviour, Clutter::Alpha
COPYRIGHT
Copyright (C) 2006, 2007, 2008 OpenedHand Ltd
Copyright (C) 2009 Intel Corporation
This module is free software; you can redistribute it and/or modify it
under the terms of either:
o the GNU Lesser General Public Library version 2.1; or
o the Artistic License, version 2.0.
- See Clutter for the full copyright notice.