procedure AnimateFloat(const APropertyName: string; const NewValue: Single; Duration: Single = 0.2; AType: TAnimationType = TAnimationType.In; AInterpolation: TInterpolationType = TInterpolationType.Linear);
void __fastcall AnimateFloat _DEPRECATED_ATTRIBUTE1("Use FMX.Ani.TAnimator instead") (const System::UnicodeString APropertyName, const float NewValue, float Duration = 2.000000E-01f, TAnimationType AType = (TAnimationType)(0x0), TInterpolationType AInterpolation = (TInterpolationType)(0x0));
Warning: AnimateFloat is deprecated. Please use Ani.TAnimator.
Creates and runs a TFloatAnimation for this object (self).
AnimateFloat creates a TFloatAnimation and makes its parent this TFmxObject (self).
Sets the PropertyName property of this float animation to be the string provided in the APropertyName parameter. This string must be the name of one of the parent's properties that is of type Float. Use dot notation to reference nested properties. Examples:
Sets the StopValue property of this float animation to be the short integer provided by the NewValue parameter.
Sets the Duration property of this float animation to be the integer provided in the Duration parameter. Duration is the number of seconds to transition from the current value of the property named in the PropertyName property to the value of the StopValue property of this float animation.
Sets the StartFromCurrent property of this float animation to be True.
Calls the Start to start the animation. The property will be animated from its current value to the StopValue over the Duration time.
Note: If this object is not Visible at the moment this method is called, no animation runs: the animation is created, but does not execute.