Animation.WithConcurrent Methode

Definition

Überlädt

WithConcurrent(Animation, Double, Double)

Fügt animation den untergeordneten Elementen des Animation-Objekts hinzu und legt die Start- und Endzeiten von animation auf jeweils beginAt und finishAt fest.

WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)

Erstellt ein neues Animation-Objekt mit dem angegebenen callback und fügt es dem untergeordneten Element des Animation-Objekts hinzu.

WithConcurrent(Animation, Double, Double)

Fügt animation den untergeordneten Elementen des Animation-Objekts hinzu und legt die Start- und Endzeiten von animation auf jeweils beginAt und finishAt fest.

public Xamarin.Forms.Animation WithConcurrent (Xamarin.Forms.Animation animation, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Xamarin.Forms.Animation * double * double -> Xamarin.Forms.Animation

Parameter

animation
Animation

Die hinzuzufügende Animation.

beginAt
System.Double

Der Bruchteil der Animation, an dem die hinzugefügte untergeordnete Animation beginnt.

finishAt
System.Double

Der Bruchteil der Animation, an dem die hinzugefügte untergeordnete Animation endet.

Gibt zurück

Gilt für:

WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)

Erstellt ein neues Animation-Objekt mit dem angegebenen callback und fügt es dem untergeordneten Element des Animation-Objekts hinzu.

public Xamarin.Forms.Animation WithConcurrent (Action<double> callback, double start = 0, double end = 1, Xamarin.Forms.Easing easing = default, double beginAt = 0, double finishAt = 1);
member this.WithConcurrent : Action<double> * double * double * Xamarin.Forms.Easing * double * double -> Xamarin.Forms.Animation

Parameter

callback
System.Action<System.Double>

Eine Aktion, die mit aufeinander folgenden Animationswerten aufgerufen wird.

start
System.Double

Der Bruchteil der aktuellen Animation, an dem die Animation gestartet wird.

end
System.Double

Der Bruchteil der aktuellen Animation, an dem die Animation beendet wird.

easing
Easing

Die Beschleunigungsfunktion für den Übergang in, aus oder in und aus der Animation.

beginAt
System.Double

Der Bruchteil der Animation, an dem die hinzugefügte untergeordnete Animation beginnt.

finishAt
System.Double

Der Bruchteil der Animation, an dem die hinzugefügte untergeordnete Animation endet.

Gibt zurück

Gilt für: