DelegateAnimation

Undocumented in source.

Constructors

this
this(Duration duration, void delegate(double) update)
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-1) of the amount that this animation has completed by. TODO: word better

update
void update(Duration deltaTime)

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

addUpdateListener
void addUpdateListener(UpdateListener listener)
Undocumented in source. Be warned that the author may not have intended to support it.
sendOnAnimationEnd
void sendOnAnimationEnd()
Undocumented in source. Be warned that the author may not have intended to support it.
sendOnAnimationRepeat
void sendOnAnimationRepeat()
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