ViewExtensions.RelRotateTo(VisualElement, Double, UInt32, Easing) 메서드

정의

view에 의해 지정된 VisualElement를 현재 회전에서 drotation만큼 회전합니다.

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

매개 변수

view
VisualElement

이 메서드가 작동하는 보기입니다.

drotation
Double

상대 회전입니다.

length
UInt32

전환을 애니메이션으로 표시할 시간(밀리초)입니다. 기본값은 250입니다.

easing
Easing

애니메이션에 사용할 감속/가속 함수입니다.

반환

Task 애니메이션이 Boolean 취소되었는지 여부를 나타내는 값이 들어 있는 입니다. true 는 애니메이션이 취소되었음을 나타냅니다. false 는 애니메이션이 완료될 때 실행되었음을 나타냅니다.

예외

viewnull인 경우

적용 대상