次の方法で共有


CAccelerateDecelerateTransition::CAccelerateDecelerateTransition

遷移オブジェクトを構築します。

CAccelerateDecelerateTransition(
   UI_ANIMATION_SECONDS duration,
   DOUBLE finalValue,
   DOUBLE accelerationRatio = 0.3,
   DOUBLE decelerationRatio = 0.3
);

パラメーター

  • duration
    遷移の継続時間。

  • finalValue
    遷移の終了時のアニメーション変数の値。

  • accelerationRatio
    加速に費やされる時間の継続時間に対する比率。

  • decelerationRatio
    減速に費やされる時間の継続時間に対する比率。

必要条件

ヘッダー: afxanimationcontroller.h

参照

関連項目

CAccelerateDecelerateTransition クラス