TimedAnimation
Object Hierarchy:
Description:
[
CCode ( type_id =
"bis_timed_animation_get_type ()" ) ]
[
Version ( since =
"1.0" ) ]
public sealed class TimedAnimation :
Animation
A time-based [class@Animation].
`BisTimedAnimation` implements a simple animation interpolating the given value from [property@TimedAnimation:value-from] to [
property@TimedAnimation:value-to] over [property@TimedAnimation:duration] milliseconds using the curve described by [
property@TimedAnimation:easing].
If [property@TimedAnimation:reverse] is set to `TRUE`, `BisTimedAnimation` will instead animate from [property@TimedAnimation:value-to]
to [property@TimedAnimation:value-from], and the easing curve will be inverted.
The animation can repeat a certain amount of times, or endlessly, depending on the [property@TimedAnimation:repeat-count] value. If [
property@TimedAnimation:alternate] is set to `TRUE`, it will also change the direction every other iteration.
Content:
Properties:
- public bool alternate { get; set construct; }
Whether the animation changes direction on every iteration.
- public uint duration { get; set construct; }
Duration of the animation, in milliseconds.
- public Easing easing { get; set construct; }
Easing function used in the animation.
- public uint repeat_count { get; set construct; }
Number of times the animation will play.
- public bool reverse { get; set construct; }
Whether the animation plays backwards.
- public double value_from { get; set construct; }
The value to animate from.
- public double value_to { get; set construct; }
The value to animate to.
Creation methods:
Methods:
Inherited Members:
All known members inherited from class Bis.Animation
All known members inherited from class GLib.Object