Delen via


CAccelerateDecelerateTransition::CAccelerateDecelerateTransition

Constructs a transition object.

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

Parameters

  • duration
    The duration of the transition.

  • finalValue
    The value of the animation variable at the end of the transition.

  • accelerationRatio
    The ratio of the time spent accelerating to the duration.

  • decelerationRatio
    The ratio of the time spent decelerating to the duration.

Requirements

Header: afxanimationcontroller.h

See Also

Reference

CAccelerateDecelerateTransition Class