ViewExtensions.RotateXToAsync メソッド

定義

オーバーロード

名前 説明
RotateXToAsync(VisualElement, Double, UInt32, Easing)

VisualElementによってviewで指定されたrotationの X 軸を歪め、length時間を取り、easingを使用するタスクを返します。

RotateXToAsync(VisualElement, Double, UInt32, Easing, CancellationToken)

VisualElementによってviewで指定されたrotationの X 軸を歪め、length時間を取り、easingを使用するタスクを返します。

RotateXToAsync(VisualElement, Double, UInt32, Easing)

ソース:
ViewExtensions.cs
ソース:
ViewExtensions.cs

VisualElementによってviewで指定されたrotationの X 軸を歪め、length時間を取り、easingを使用するタスクを返します。

public static System.Threading.Tasks.Task<bool> RotateXToAsync(this Microsoft.Maui.Controls.VisualElement view, double rotation, uint length = 250, Microsoft.Maui.Easing? easing = default);
static member RotateXToAsync : Microsoft.Maui.Controls.VisualElement * double * uint32 * Microsoft.Maui.Easing -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function RotateXToAsync (view As VisualElement, rotation As Double, Optional length As UInteger = 250, Optional easing As Easing = Nothing) As Task(Of Boolean)

パラメーター

view
VisualElement

このメソッドが動作するビュー。

rotation
Double

最終的な回転値。

length
UInt32

遷移をアニメーション化する時間 (ミリ秒単位)。 既定値は 250 です。

easing
Easing

アニメーションに使用するイージング関数。

返品

アニメーションが取り消されたかどうかを示すBoolean値を含むTasktrue は、アニメーションが取り消されたことを示します。 false は、アニメーションが完了まで実行されたことを示します。

例外

viewnullされるとスローされます。

適用対象

RotateXToAsync(VisualElement, Double, UInt32, Easing, CancellationToken)

VisualElementによってviewで指定されたrotationの X 軸を歪め、length時間を取り、easingを使用するタスクを返します。

public:
[System::Runtime::CompilerServices::Extension]
 static System::Threading::Tasks::Task<bool> ^ RotateXToAsync(Microsoft::Maui::Controls::VisualElement ^ view, double rotation, System::UInt32 length, Microsoft::Maui::Easing ^ easing, System::Threading::CancellationToken cancellationToken);
public static System.Threading.Tasks.Task<bool> RotateXToAsync(this Microsoft.Maui.Controls.VisualElement view, double rotation, uint length, Microsoft.Maui.Easing? easing, System.Threading.CancellationToken cancellationToken);
static member RotateXToAsync : Microsoft.Maui.Controls.VisualElement * double * uint32 * Microsoft.Maui.Easing * System.Threading.CancellationToken -> System.Threading.Tasks.Task<bool>
<Extension()>
Public Function RotateXToAsync (view As VisualElement, rotation As Double, length As UInteger, easing As Easing, cancellationToken As CancellationToken) As Task(Of Boolean)

パラメーター

view
VisualElement

このメソッドが動作するビュー。

rotation
Double

最終的な回転値。

length
UInt32

遷移をアニメーション化する時間 (ミリ秒単位)。 既定値は 250 です。

easing
Easing

アニメーションに使用するイージング関数。

cancellationToken
CancellationToken

アニメーションを取り消す CancellationToken

返品

アニメーションが取り消されたかどうかを示すBoolean値を含むTasktrue は、アニメーションが取り消されたことを示します。 false は、アニメーションが完了まで実行されたことを示します。

例外

viewnullされるとスローされます。

適用対象