kyrie / com.github.alexjlockwood.kyrie / Animation / interpolator

interpolator

var interpolator: TimeInterpolator?

Returns the timing interpolator that this animation uses. If null, a LinearInterpolator will be used by default.

Return
The timing interpolator for this animation.

fun interpolator(interpolator: TimeInterpolator?): Animation<T, V>

Sets the timing interpolator that this animation uses. If null, a LinearInterpolator will be used by default.

Parameters

interpolator - The timing interpolator that this animation uses.

Return
This Animation object (to allow for chaining of calls to setter methods).