ValueAnimation

Undocumented in source.

Constructors

this
this(Duration duration, T* target, T start, T end)
Undocumented in source.

Members

Functions

updateProgress
void updateProgress(double progress)
Undocumented in source. Be warned that the author may not have intended to support it.

Inherited Members

From Animation

updateProgress
void updateProgress(double progress)

This is called with the value (0.0 -> 1.0) of the amount that this animation has completed by.

update
void update(Duration deltaTime)

This takes the delta time since the last update call as the input.

addOnAnimationEndListener
void addOnAnimationEndListener(AnimListenerFunc listener)
Undocumented in source. Be warned that the author may not have intended to support it.
addOnAnimationRepeatListener
void addOnAnimationRepeatListener(AnimListenerFunc listener)
Undocumented in source. Be warned that the author may not have intended to support it.
setInterpolator
void setInterpolator(Interpolator interpolator)
Undocumented in source. Be warned that the author may not have intended to support it.
isRunning
bool isRunning()
Undocumented in source. Be warned that the author may not have intended to support it.
repeatMode
RepeatMode repeatMode [@property setter]

This determines the style of our animation repeat

repeatMode
RepeatMode repeatMode [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
repeatCount
int repeatCount [@property setter]

If the repeat count is negative, then we repeat infinitely. Otherwise, we run the animation repeatCount number of times.

repeatCount
int repeatCount [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Meta