次の方法で共有


AnimationExtensions.Animate メソッド

定義

オーバーロード

Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>, IAnimationManager)

指定のパラメーターを設定し、アニメーションを開始します。

Animate(IAnimatable, String, Animation, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Microsoft.Maui.Controls.Animation animation, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Microsoft.Maui.Controls.Animation * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, animation As Animation, Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)

パラメーター

self
IAnimatable

このメソッドが実行されるオブジェクト。

name
String

そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。

animation
Animation

実行するアニメーション。

rate
UInt32

フレーム間の時間 (ミリ秒単位)。

length
UInt32

アニメーションを補間するミリ秒数。

easing
Easing

アニメーションに入る、アニメーションから出る、アニメーションに入ってから出るためのイージング関数。

finished
Action<Double,Boolean>

アニメーションの完了時に呼び出されるアクション。

repeat
Func<Boolean>

アニメーションを続ける場合に true を返す関数。

適用対象

Animate(IAnimatable, String, Action<Double>, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Action<double> callback, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Action<double> * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, callback As Action(Of Double), Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)

パラメーター

self
IAnimatable

このメソッドが実行されるオブジェクト。

name
String

そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。

callback
Action<Double>

連続するアニメーション値で呼び出されるアクション。

rate
UInt32

フレーム間の時間 (ミリ秒単位)。

length
UInt32

アニメーションを補間するミリ秒数。

easing
Easing

アニメーションに入る、アニメーションから出る、アニメーションに入ってから出るためのイージング関数。

finished
Action<Double,Boolean>

アニメーションの完了時に呼び出されるアクション。

repeat
Func<Boolean>

アニメーションを続ける場合に true を返す関数。

適用対象

Animate(IAnimatable, String, Action<Double>, Double, Double, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

指定のパラメーターを設定し、アニメーションを開始します。

public static void Animate (this Microsoft.Maui.Controls.IAnimatable self, string name, Action<double> callback, double start, double end, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<double,bool> finished = default, Func<bool> repeat = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Action<double> * double * double * uint32 * uint32 * Microsoft.Maui.Easing * Action<double, bool> * Func<bool> -> unit
<Extension()>
Public Sub Animate (self As IAnimatable, name As String, callback As Action(Of Double), start As Double, end As Double, Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of Double, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing)

パラメーター

self
IAnimatable

このメソッドが実行されるオブジェクト。

name
String

そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。

callback
Action<Double>

連続するアニメーション値で呼び出されるアクション。

start
Double

現在のアニメーションにおいてアニメーションを開始する箇所。

end
Double

現在のアニメーションにおいてアニメーションを停止する箇所。

rate
UInt32

フレーム間の時間 (ミリ秒単位)。

length
UInt32

アニメーションを補間するミリ秒数。

easing
Easing

アニメーションに入る、アニメーションから出る、アニメーションに入ってから出るためのイージング関数。

finished
Action<Double,Boolean>

アニメーションの完了時に呼び出されるアクション。

repeat
Func<Boolean>

アニメーションを続ける場合に true を返す関数。

適用対象

Animate<T>(IAnimatable, String, Func<Double,T>, Action<T>, UInt32, UInt32, Easing, Action<T,Boolean>, Func<Boolean>, IAnimationManager)

指定のパラメーターを設定し、アニメーションを開始します。

public static void Animate<T> (this Microsoft.Maui.Controls.IAnimatable self, string name, Func<double,T> transform, Action<T> callback, uint rate = 16, uint length = 250, Microsoft.Maui.Easing easing = default, Action<T,bool> finished = default, Func<bool> repeat = default, Microsoft.Maui.Animations.IAnimationManager animationManager = default);
static member Animate : Microsoft.Maui.Controls.IAnimatable * string * Func<double, 'T> * Action<'T> * uint32 * uint32 * Microsoft.Maui.Easing * Action<'T, bool> * Func<bool> * Microsoft.Maui.Animations.IAnimationManager -> unit
<Extension()>
Public Sub Animate(Of T) (self As IAnimatable, name As String, transform As Func(Of Double, T), callback As Action(Of T), Optional rate As UInteger = 16, Optional length As UInteger = 250, Optional easing As Easing = Nothing, Optional finished As Action(Of T, Boolean) = Nothing, Optional repeat As Func(Of Boolean) = Nothing, Optional animationManager As IAnimationManager = Nothing)

型パラメーター

T

パラメーター

self
IAnimatable

このメソッドが実行されるオブジェクト。

name
String

そのアニメーションが継続している間、その兄弟アニメーションや親アニメーションに対して一意である必要があるアニメーション キー。

transform
Func<Double,T>

アニメーション時間を新しい時間値にマップする関数。

callback
Action<T>

連続するアニメーション値で呼び出されるアクション。

rate
UInt32

フレーム間の時間 (ミリ秒単位)。

length
UInt32

アニメーションを補間するミリ秒数。

easing
Easing

アニメーションに入る、アニメーションから出る、アニメーションに入ってから出るためのイージング関数。

finished
Action<T,Boolean>

アニメーションの完了時に呼び出されるアクション。

repeat
Func<Boolean>

アニメーションを続ける場合に true を返す関数。

animationManager
IAnimationManager

適用対象