FMX.Ani.TFloatAnimation.Duration

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

property Duration nodefault;

C++

__property Duration;

Properties

Type Visibility Source Unit Parent
property published
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani TFloatAnimation

Description

The amount of time (in seconds) to animate from the start value to the stop value.

FMX.Ani.TFloatAnimation.Duration inherits from FMX.Ani.TAnimation.Duration. All content below this line refers to FMX.Ani.TAnimation.Duration.

The amount of time (in seconds) to animate from the start value to the stop value.

Set Duration at design time in the Object Inspector of a TAnimation class descendant that is the child of a TFmxObject. As an alternative, you can create a TAnimation instance and set its Parent property to the parent TFmxObject, and then set its Duration property. The third option is to call one of the TFmxObject's animate methods, such as AnimateFloat, and pass Duration as one of its parameters.

See Also

Code Examples