Show: Delphi C++
Display Preferences

FMX.Ani.TAnimation

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTAnimation

Delphi

TAnimation = class(TFmxObject)

C++

class PASCALIMPLEMENTATION TAnimation : public Fmx::Types::TFmxObject

Properties

Type Visibility Source Unit Parent
class public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani FMX.Ani

Description

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.

Start and stop the animation using Start and Stop, or set Enabled to True to start at run time.

See the remaining TAnimation properties and methods for descriptions of their functions.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance