kyrie / com.github.alexjlockwood.kyrie / Keyframe / interpolator

interpolator

var interpolator: TimeInterpolator?

Gets the optional interpolator for this Keyframe. A value of null indicates that there is no interpolation, which is the same as linear interpolation.

Return
The optional interpolator for this Keyframe. May be null.

fun interpolator(interpolator: TimeInterpolator?): Keyframe<T>

Sets the optional interpolator for this Keyframe. A value of null indicates that there is no interpolation, which is the same as linear interpolation.

Parameters

interpolator - The optional interpolator for this Keyframe. May be null.

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