IUIAnimationTransitionLibrary interface
Defines a library of standard transitions.
When to implement
Client applications do not need to implement IUIAnimationTransitionLibrary.
When to use
Client applications use the methods provided by IUIAnimationTransitionLibrary to create standard transitions. An implementation is provided by UIAnimationTransitionLibrary.
Members
The IUIAnimationTransitionLibrary interface inherits from the IUnknown interface. IUIAnimationTransitionLibrary also has these types of members:
Methods
The IUIAnimationTransitionLibrary interface has these methods.
| Method | Description |
|---|---|
| CreateAccelerateDecelerateTransition |
Creates an accelerate-decelerate transition. |
| CreateConstantTransition |
Creates a constant transition. |
| CreateCubicTransition |
Creates a cubic transition. |
| CreateDiscreteTransition |
Creates a discrete transition. |
| CreateInstantaneousTransition |
Creates an instantaneous transition. |
| CreateLinearTransition |
Creates a linear transition. |
| CreateLinearTransitionFromSpeed |
Creates a linear-speed transition. |
| CreateParabolicTransitionFromAcceleration |
Creates a parabolic-acceleration transition. |
| CreateReversalTransition |
Creates a reversal transition. |
| CreateSinusoidalTransitionFromRange |
Creates a sinusoidal-range transition. |
| CreateSinusoidalTransitionFromVelocity |
Creates a sinusoidal-velocity transition. |
| CreateSmoothStopTransition |
Creates a smooth-stop transition. |
Remarks
Windows Animation includes a library of common transitions that developers can apply to variables through a storyboard. The parameters for specifying a transition depend on the type of transition. For some transitions, the duration of the transition is an explicit parameter; for others, the duration is determined by other parameters, such as speed or acceleration when the transition begins. A transition's initial value or velocity can be overridden if a discontinuous jump is desired, and duration can be queried after the transition is added to a storyboard.
If an application requires an effect that cannot be specified using the transition library, developers can implement custom transitions. A custom transition is created by first implementing the interpolator function for the transition, and then by using a factory object to generate transitions from interpolators. An interpolator must implement the IUIAnimationInterpolator interface; an implementation of the transition factory object is provided by UIAnimationTransitionFactory.
Examples
For an example that creates the transition library object, see Create the Main Animation Objects.
Requirements
|
Minimum supported client |
Windows 7, Windows Vista and Platform Update for Windows Vista [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
None supported |
|
Header |
|
|
IDL |
|
|
DLL |
|
|
IID |
IID_IUIAnimationTransitionLibrary is defined as CA5A14B1-D24F-48b8-8FE4-C78169BA954E |
See also
- IUnknown
- Storyboard Overview
- IUIAnimationManager::ScheduleTransition
- IUIAnimationTransition
- IUIAnimationStoryboard::AddTransition
- IUIAnimationStoryboard::AddKeyframeAfterTransition
- IUIAnimationStoryboard::AddTransitionAtKeyframe
- IUIAnimationStoryboard::AddTransitionBetweenKeyframes