Track
class Track(val name: String, var range: ClosedRange<Double>, var easing: TimingFunction = TimingFunction.LINEAR, val apply: (Double) -> Unit? = null, val current: () -> Double? = null)(source)
A track of a Timeline: name, the keyframes of a value in range, interpolated with easing between them, and apply, which sets the value, like a property it is bound to
Constructors
Link copied to clipboard
constructor(name: String, range: ClosedRange<Double>, easing: TimingFunction = TimingFunction.LINEAR, apply: (Double) -> Unit? = null, current: () -> Double? = null)