Next: ClutterBehaviour, Previous: ClutterBehaviourRotate, Up: Top
A behaviour controlling scale
A <clutter-behaviour-scale> interpolates actors size between two values.
Derives from
<clutter-behaviour>.This class defines the following slots:
x-scale-start- Initial scale on the X axis
y-scale-start- Initial scale on the Y axis
x-scale-end- Final scale on the X axis
y-scale-end- Final scale on the Y axis
<clutter-alpha>) (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double) (ret <clutter-behaviour>)Creates a new
<clutter-behaviour-scale>instance.
- alpha
- a
<clutter-alpha>- x-scale-start
- initial scale factor on the X axis
- y-scale-start
- initial scale factor on the Y axis
- x-scale-end
- final scale factor on the X axis
- y-scale-end
- final scale factor on the Y axis
- ret
- the newly created
<clutter-behaviour-scale>Since 0.2
<clutter-behaviour-scale>) (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double)Sets the bounds used by scale behaviour.
- scale
- a
<clutter-behaviour-scale>- x-scale-start
- initial scale factor on the X axis
- y-scale-start
- initial scale factor on the Y axis
- x-scale-end
- final scale factor on the X axis
- y-scale-end
- final scale factor on the Y axis
Since 0.6
<clutter-behaviour-scale>) (x_scale_start double) (y_scale_start double) (x_scale_end double) (y_scale_end double)Retrieves the bounds used by scale behaviour.
- scale
- a
<clutter-behaviour-scale>- x-scale-start
- return location for the initial scale factor on the X axis, or ‘
#f’- y-scale-start
- return location for the initial scale factor on the Y axis, or ‘
#f’- x-scale-end
- return location for the final scale factor on the X axis, or ‘
#f’- y-scale-end
- return location for the final scale factor on the Y axis, or ‘
#f’Since 0.4