keyFrames
Creates an animation that manipulates values of type T that are convertable to a Double.
keyFrames(converter, duration) {
value1 at duration * 0 then easeInElastic
value2 at duration * 1/3 then linear
value3 at duration * 2/3 then easeOutBack
}
Parameters
that maps T to and from Array<Double>
of the animation
defining the animation key points
Creates an animation that manipulates values of type T that are convertable to an array of Double. Each dimension of T will be animated using the definitions within frames.
Parameters
that maps T to and from Array<Double>
of the animation
defining the animation key points
See also
Deprecated
use after method instead to add delays
Replace with
after(delay, keyFrames(converter, duration, frames))
Creates an animation that manipulates values of type T that are convertable to a Double.
keyFrames(converter, duration) {
value1 at duration * 0 then easeInElastic
value2 at duration * 1/3 then linear
value3 at duration * 2/3 then easeOutBack
}
Parameters
that maps T to and from Array<Double>
of the animation
to apply before the animation begins
defining the animation key points
See also
Deprecated
use after method instead to add delays
Replace with
after(delay, keyFrames(converter, duration, frames))
Creates an animation that manipulates values of type T that are convertable to an array of Double. Each dimension of T will be animated using the definitions within frames.
Parameters
that maps T to and from Array<Double>
of the animation
to apply before the animation begins
defining the animation key points