Class Animation<T>
Definition
Namespace: StardewUI.Animation
Assembly: StardewUI.dll
Defines a single animation.
Type Parameters
T
The type of value being animated.
Inheritance
Object ⇦ Animation<T>
Implements
IEquatable<Animation<T>>
Members
Constructors
Name | Description |
---|---|
Animation<T>(T, T, TimeSpan) | Defines a single animation. |
Properties
Name | Description |
---|---|
Duration | Duration of the animation. |
EndValue | The final value for the animated property. |
EqualityContract | |
StartValue | The initial value for the animated property. |
Details
Constructors
Animation<T>(T, T, TimeSpan)
Defines a single animation.
Parameters
StartValue
T
The initial value for the animated property.
EndValue
T
The final value for the animated property.
Duration
TimeSpan
Duration of the animation.
Properties
Duration
Duration of the animation.
Property Value
EndValue
The final value for the animated property.
Property Value
T
EqualityContract
Property Value
StartValue
The initial value for the animated property.
Property Value
T