atFraction

open infix fun T.atFraction(@FloatRange(from = 0.0, to = 1.0) fraction: Float): E

Adds a keyframe so that the animation value will be the value specified at a fraction of the total durationMillis set. It's recommended that you always set durationMillis before calling atFraction. For example:

Return

an instance of E so a custom com.jakewharton.mosaic.animation.Easing can be added by the using method

Parameters

fraction

The fraction when the animation should reach specified value.