Constructor

new(from:T, to:T, duration:Float, onTick:T ‑> Void)

Variables

@aliasduration:Float

paused:Bool

started:Bool

to:T

@aliaseasing:Float ‑> Float

Methods

ease(f:Float ‑> Float):Animation<T>

onCompleted(f:() ‑> Void):Animation<T>

onPaused(f:() ‑> Void):Animation<T>

onResumed(f:() ‑> Void):Animation<T>

onStarted(f:() ‑> Void):Animation<T>

onStopped(f:() ‑> Void):Animation<T>

onTick(f:T ‑> Void):Animation<T>