loop

@JvmName(name = "loopSingle")
fun <T> loop(animationPlan: FiniteNumericAnimationPlan<T, Double>, type: RepetitionType = Restart, delay: Measure<Time> = zeroMillis): NumericAnimationPlan<T, Double>(source)
@JvmName(name = "loopMulti")
fun <T> loop(animationPlan: FiniteNumericAnimationPlan<T, Array<Double>>, type: RepetitionType = Restart, delay: Measure<Time> = zeroMillis): 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

delay

to apply before the animation begins