TAnimation = class(TFmxObject)
class PASCALIMPLEMENTATION TAnimation : public TFmxObject
TAnimation is the base class for all animation class descendants.
Do not create instances of TAnimation. Rather, create instances of descendants such as TFloatAnimation or TColorAnimation. TAnimation contains properties and methods that are common to all animations.
Use the AnimationType and Interpolation to control the rate of change of the property controlled by the animation. Set the property controlled in the PropertyName property of the descendant class, such as PropertyName. AutoReverse causes the animation to move from the StartValue to the StopValue and then back to the StartValue. StartValue and StopValue are properties of the descendants, because the values of the property controlled has different type depending on the type of animation (Float, Color, Path...). Duration is the number of seconds the animation takes to get from the StartValue to the StopValue.
See the remaining TAnimation properties and methods for descriptions of their functions.