Phoc.TimedAnimation
Description: Reference for Phoc.TimedAnimation

### Class

# PhocTimedAnimation

#### Description [src]

    final class Phoc.TimedAnimation : GObject.Object
    {
      /* No available fields */
    }

An animation that ends after the given period of time.

`PhocTimedAnimation` implements a timed animation using the given `PhocPropertyEaser` to animate properties of the `PhocAnimatable`.

#### Hierarchy

#### Ancestors

- GObject

#### Constructors

###### phoc_timed_animation_new

No description available.

#### Instance methods

###### phoc_timed_animation_get_animatable

No description available.

###### phoc_timed_animation_get_dispose_on_done

Whether the animation tracks it’s own reference.

###### phoc_timed_animation_get_duration

No description available.

###### phoc_timed_animation_get_property_easer

No description available.

###### phoc_timed_animation_get_state

Gets the current state of `self`.

###### phoc_timed_animation_play

Starts the animation for `self`.

###### phoc_timed_animation_reset

Resets the animation for `self`.

###### phoc_timed_animation_set_duration

No description available.

###### phoc_timed_animation_set_property_easer

No description available.

###### phoc_timed_animation_skip

Skips the animation for `self`.

##### Methods inherited from GObject (43)

Please see GObject for a full list of methods.

#### Properties

###### Phoc.TimedAnimation:animatable

The animatable that drives the frame clock.

###### Phoc.TimedAnimation:dispose-on-done

Whether the animation should ref itself during construction and drop that reference once it emitted the `PhocTimedAnimation::done` signal. This frees the animated object from tracking the animations life cycle thus making it easy to create “fire and forget” animations.

###### Phoc.TimedAnimation:duration

The duration of the animation in milliseconds.

###### Phoc.TimedAnimation:property-easer

The `PhocPropertyEaser` that specifies the object and properties to ease in the timed animation.

###### Phoc.TimedAnimation:state

No description available.

#### Signals

###### Phoc.TimedAnimation::done

No description available.

###### Phoc.TimedAnimation::tick

No description available.

##### Signals inherited from GObject (1)

###### GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

#### Class structure

    struct PhocTimedAnimationClass {
      GObjectClass parent_class;

    }

No description available.

###### Class members

`parent_class: GObjectClass`

  No description available.