loop

@JvmName(name = "loopSingle")
fun <T> loop(animationPlan: FiniteNumericAnimationPlan<T, Double>, type: RepetitionType = Restart): NumericAnimationPlan<T, Double>(source)
@JvmName(name = "loopMulti")
fun <T> loop(    animationPlan: FiniteNumericAnimationPlan<T, Array<Double>>,     type: RepetitionType = Restart): NumericAnimationPlan<T, Array<Double>>(source)

Loops the given animationPlan indefinitely.

Parameters

animationPlan

to repeat

type

of repetition, Restart will start over while Reverse will reverse