FMX.Styles.Objects.TStyleTextAnimation

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Ani.TAnimationFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTStyleTextAnimation

Delphi

TStyleTextAnimation = class(TAnimation)

C++

class PASCALIMPLEMENTATION TStyleTextAnimation : public Fmx::Ani::TAnimation

Properties

Type Visibility Source Unit Parent
class public
FMX.Styles.Objects.pas
FMX.Styles.Objects.hpp
FMX.Styles.Objects FMX.Styles.Objects

Description

TAnimation is the base class for all animation class descendants.

FMX.Styles.Objects.TStyleTextAnimation inherits from FMX.Ani.TAnimation. All content below this line refers to FMX.Ani.TAnimation.

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