FMX.Ani.TColorKeyAnimation

From RAD Studio API Documentation
Jump to: navigation, search

FMX.Ani.TCustomPropertyAnimationFMX.Ani.TAnimationFMX.Types.TFmxObjectSystem.Classes.TComponentSystem.Classes.TPersistentSystem.TObjectTColorKeyAnimation

Delphi

TColorKeyAnimation = class(TCustomPropertyAnimation)

C++

class PASCALIMPLEMENTATION TColorKeyAnimation : public TCustomPropertyAnimation

Properties

Type Visibility Source Unit Parent
class public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani FMX.Ani

Description

Attached to a property of an object to change that property's color over time.

Attach a TColorKeyAnimation to a TFmxObject parent object in one of these ways:

  • Select the parent object and then double-click a TColorKeyAnimation 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 TColorKeyAnimation instance dynamically and assign the parent object as the parent. Then set the PropertyName.

See Also

Code Examples