FMX.Ani.TGradientAnimation
Delphi
TGradientAnimation = class(TCustomPropertyAnimation)
C++
class PASCALIMPLEMENTATION TGradientAnimation : public TCustomPropertyAnimation
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
class | public | FMX.Ani.pas FMX.Ani.hpp |
FMX.Ani | FMX.Ani |
Description
Attached to a color gradient property of an object to change its value over time.
Attach a TGradientAnimation to a TFmxObject parent object in one of these ways:
- Select the parent object and then double-click a TGradientAnimation in the Tool Palette. Then set the PropertyName to the name of the property in the parent object to animate.
- In the Object Inspector for the parent object, double-click the film strip icon next to the property to animate. This will assign the PropertyName for you.
- Create a TGradientAnimation instance dynamically and assign the parent object as the parent. Then set the PropertyName.
See Also
- FireMonkey Animation Effects
- FMX.Ani.TCustomPropertyAnimation.PropertyName
- FMX.Ani.TGradientAnimation.StartValue
- FMX.Ani.TGradientAnimation.StopValue
- FMX.Ani.TGradientAnimation.StartFromCurrent
- FMX.Ani.TAnimation.Loop
- FMX.Ani.TAnimation.Start
- FMX.Ani.TAnimation.Stop
- FMX.Ani.TAnimation.Enabled
- FMX.Ani.TAnimation.AnimationType
- FMX.Ani.TAnimation.Interpolation