Animation.WithConcurrent 方法

定义

重载

WithConcurrent(Animation, Double, Double)

animation 添加至 Animation 对象的子级,并将 animation 的开始时间和结束时间分别设为 beginAtfinishAt

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

使用指定的 callback 创建新的 Animation 对象,并将其添加至 Animation 对象的子级。

WithConcurrent(Animation, Double, Double)

animation 添加至 Animation 对象的子级,并将 animation 的开始时间和结束时间分别设为 beginAtfinishAt

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

参数

animation
Animation

要添加的动画。

beginAt
System.Double

动画中所添加的子动画将开始动态显示的部分。

finishAt
System.Double

动画中所添加的子动画将停止动态显示的部分。

返回

适用于

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

使用指定的 callback 创建新的 Animation 对象,并将其添加至 Animation 对象的子级。

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

参数

callback
System.Action<System.Double>

使用连续动画值调用的操作。

start
System.Double

当前动画中启动动画的部分。

end
System.Double

当前动画中结束动画的部分。

easing
Easing

用于动画的切入、切出或进入和退出的缓动函数。

beginAt
System.Double

动画中所添加的子动画将开始动态显示的部分。

finishAt
System.Double

动画中所添加的子动画将停止动态显示的部分。

返回

适用于