QuinticEase Class
Représente une fonction d'accélération qui crée une animation qui accélère et/ou ralentit à l'aide de la formule f(t) = t5
Héritage
- Object
- DependencyObject
- EasingFunctionBase
- QuinticEase
Syntaxe
<QuinticEase .../>
Attributs
- ActivatableAttribute(NTDDI_WIN8)
- MarshalingBehaviorAttribute(Agile)
- ThreadingAttribute(Both)
- VersionAttribute(NTDDI_WIN8)
- WebHostHiddenAttribute()
Membres
QuinticEaseClasse comporte les types de membres suivants :
Constructeurs
QuinticEaseClasse comporte les constructeurs suivants.
| Constructeur | Description |
|---|---|
| QuinticEase | Initializes a new instance of the QuinticEase class. |
Méthodes
The QuinticEase Classe comporte les méthodes suivantes. Il hérite également des méthodes de Object Classe.
| Méthode | Description |
|---|---|
| ClearValue | Clears the local value of a dependency property. (Hérité de DependencyObject) |
| Ease | Transforms normalized time to control the pace of an animation. (Hérité de EasingFunctionBase) |
| GetAnimationBaseValue | Returns any base value established for a dependency property, which would apply in cases where an animation is not active. (Hérité de DependencyObject) |
| GetValue | Returns the current effective value of a dependency property from a DependencyObject. (Hérité de DependencyObject) |
| ReadLocalValue | Returns the local value of a dependency property, if a local value is set. (Hérité de DependencyObject) |
| SetValue | Sets the local value of a dependency property on a DependencyObject. (Hérité de DependencyObject) |
Propriétés
Le QuinticEaseClasse contient les propriétés suivantes.
| Propriété | Type d’accès | Description |
|---|---|---|
| en lecture seule | Gets the CoreDispatcher that this object is associated with. (Hérité de DependencyObject) | |
| en lecture/écriture | Gets or sets a value that specifies how the animation interpolates. (Hérité de EasingFunctionBase) | |
| en lecture seule | Identifies the EasingMode dependency property. (Hérité de EasingFunctionBase) |
Exemples
L'exemple suivant applique une fonction d'accélération QuinticEase à DoubleAnimation pour créer une animation de ralentissement.
<StackPanel x:Name="LayoutRoot" > <StackPanel.Resources> <Storyboard x:Name="myStoryboard"> <DoubleAnimation From="1" To="6" Duration="00:00:3" Storyboard.TargetName="rectScaleTransform" Storyboard.TargetProperty="ScaleY"> <DoubleAnimation.EasingFunction> <QuinticEase EasingMode="EaseOut" /> </DoubleAnimation.EasingFunction> </DoubleAnimation> </Storyboard> </StackPanel.Resources> <Rectangle PointerPressed="Pointer_Clicked" Fill="Blue" Width="200" Height="30"> <Rectangle.RenderTransform> <ScaleTransform x:Name="rectScaleTransform" /> </Rectangle.RenderTransform> </Rectangle> </StackPanel>
// When the user clicks the rectangle, the animation // begins. private void Pointer_Clicked(object sender, PointerRoutedEventArgs e) { myStoryboard.Begin(); }
Configuration requise
|
Client minimal pris en charge | Windows 8 [Applications du Windows Store uniquement] |
|---|---|
|
Serveur minimal pris en charge | Windows Server 2012 [Applications du Windows Store uniquement] |
|
Espace de noms |
|
|
Métadonnées |
|
Voir aussi
- Démarrage rapide : animation de votre interface utilisateur
- PowerEase
- BackEase
- BounceEase
- CircleEase
- CubicEase
- ElasticEase
- ExponentialEase
- QuadraticEase
- QuarticEase
- SineEase
