Animation.WithConcurrent Méthode
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Surcharges
WithConcurrent(Animation, Double, Double) |
Ajoute |
WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double) |
Crée un objet Animation avec le |
WithConcurrent(Animation, Double, Double)
Ajoute animation
aux enfants de cet objet Animation et définit les heures de début et de fin de animation
sur beginAt
et sur finishAt
, respectivement.
public Microsoft.Maui.Controls.Animation WithConcurrent (Microsoft.Maui.Controls.Animation animation, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Microsoft.Maui.Controls.Animation * double * double -> Microsoft.Maui.Controls.Animation
Public Function WithConcurrent (animation As Animation, Optional beginAt As Double = 0, Optional finishAt As Double = 1) As Animation
Paramètres
- animation
- Animation
Animation à exécuter.
- beginAt
- Double
Fraction de cette animation au niveau de laquelle l’animation enfant ajoutée commencera.
- finishAt
- Double
Fraction de cette animation au niveau de laquelle l’animation enfant ajoutée s’arrêtera.
Retours
S’applique à
WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)
public Microsoft.Maui.Controls.Animation WithConcurrent (Action<double> callback, double start = 0, double end = 1, Microsoft.Maui.Easing easing = default, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Action<double> * double * double * Microsoft.Maui.Easing * double * double -> Microsoft.Maui.Controls.Animation
Public Function WithConcurrent (callback As Action(Of Double), Optional start As Double = 0, Optional end As Double = 1, Optional easing As Easing = Nothing, Optional beginAt As Double = 0, Optional finishAt As Double = 1) As Animation
Paramètres
- start
- Double
Fraction de l’animation actuelle au niveau de laquelle démarrer l’animation.
- end
- Double
Fraction de l’animation actuelle au niveau de laquelle terminer l’animation.
- easing
- Easing
Fonction d’accélération à utiliser pour passer à l’animation, à l’extérieur ou à l’intérieur et à la sortie de l’animation.
- beginAt
- Double
Fraction de cette animation au niveau de laquelle l’animation enfant ajoutée commencera.
- finishAt
- Double
Fraction de cette animation au niveau de laquelle l’animation enfant ajoutée s’arrêtera.
Retours
S’applique à
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour