FMX.Ani.TRectAnimation

提供: RAD Studio API Documentation
移動先: 案内検索

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

Delphi

TRectAnimation = class(TCustomPropertyAnimation)

C++

class PASCALIMPLEMENTATION TRectAnimation : public TCustomPropertyAnimation

プロパティ

種類 可視性 ソース ユニット
class public
FMX.Ani.pas
FMX.Ani.hpp
FMX.Ani FMX.Ani

説明

オブジェクトの TBounds プロパティにアタッチし、その境界を時間の経過と共に変更していきます。

TRectAnimation は、TFmxObject 親オブジェクトに、次のいずれかの方法でアタッチします:

  • 親オブジェクトを選択し、ツール パレットで TRectAnimation をダブルクリックします。 それから、アニメーションする親オブジェクトのプロパティの名前に PropertyName を設定します。
  • 親オブジェクトのオブジェクト インスペクタで、アニメーションするプロパティの隣にあるフイルム ストリップ アイコンをダブルクリックします。 これにより、PropertyName が割り当てられます。
  • TRectAnimation インスタンスを動的に作成し、親として親オブジェクトを割り当てます。 それから、PropertyName を設定します。

関連項目

コード サンプル