Translation class

Implemented types

Constructors

Translation(num startValue, num targetValue, num time, [TransitionFunction transition = Transition.linear])
Creates a new Translation.

Properties

currentTime double
The current time of this Animation.
no setter
currentValue num
The current value.
no setter
delay num
The delay before the translation actually starts.
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
isComplete bool
Indicates if this Translation is completed.
no setter
onComplete VoidFunction
The function that is called when this Translation is completed.
no getter
onStart VoidFunction
The function that is called when this Translation starts.
no getter
onUpdate NumUpdateFunction
The function that is called every time this Translation updates the value.
no getter
roundToInt bool
Specifies if the values should be rounded to an integer.
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
startValue num
The starting value to animate from.
no setter
targetValue num
The value to animate to.
no setter
totalTime double
The total time of this Animation.
no setter

Methods

advanceTime(num time) bool
This method is called by the Juggler with the time past since the last call.
override
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited