FMX.Ani.TAnimation.AutoReverse

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

property AutoReverse: Boolean read FAutoReverse write FAutoReverse default False;

C++

__property bool AutoReverse = {read=FAutoReverse, write=FAutoReverse, default=0};

Properties

Type Visibility Source Unit Parent
property public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TAnimation

Description

Animates backwards after animating forwards.

Set AutoReverse to True to animate the controlled property backwards, from the StopValue to the StartValue, after the completion of the regular animation. The forward and backward animations each take a Duration number of seconds. If Loop is True, the forward and backward animations are alternated. OnFinish gets called after the backward animation has completed.

See Also

Code Examples