Transition

class Transition<V>(val property: String, val from: V, val to: V, val start: Double, val timing: TransitionTiming)(source)

A transition of property from from to to that starts at start, in seconds

Constructors

Link copied to clipboard
constructor(property: String, from: V, to: V, start: Double, timing: TransitionTiming)

Properties

Link copied to clipboard
val from: V
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

true once the delay is over, when the transition has started

Link copied to clipboard
Link copied to clipboard
val to: V

Functions

Link copied to clipboard
fun progress(time: Double): Double

the progress at time, before the timing function: below 0 during the delay, 1 or more once it ended