Share via


Animation 類別

定義

封裝動畫,這是在使用者可察覺期間內修改屬性的函式集合。

public ref class Animation : Microsoft::Maui::Animations::Animation
public class Animation : Microsoft.Maui.Animations.Animation
type Animation = class
    inherit Animation
Public Class Animation
Inherits Animation
繼承
Animation

建構函式

Animation()

使用預設值建立新的 Animation 物件。

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

使用指定的參數建立新 Animation 物件。

欄位

animationManger

管理此動畫之 的參考 IAnimationManager

(繼承來源 Animation)
childrenAnimations

與此動畫相關聯的子動畫集合。

(繼承來源 Animation)

屬性

AnimationManager

管理此動畫之 的參考 IAnimationManager

(繼承來源 Animation)
CurrentTime

動畫) 以秒為單位的目前時間戳 (。

(繼承來源 Animation)
Duration

此動畫的持續時間,以秒為單位。

(繼承來源 Animation)
Easing

Easing 用至此動畫的函式。

(繼承來源 Animation)
Finished

此動畫完成時所叫用的回呼。

(繼承來源 Animation)
HasFinished

指定此動畫是否已完成。

(繼承來源 Animation)
IsDisposed

取得值,這個值會指定這個動畫是否已處置。

(繼承來源 Animation)
IsEnabled

指定此動畫目前是否已啟用。

IsPaused

指定此動畫目前是否暫停。

(繼承來源 Animation)
Name

這個動畫的名稱。

(繼承來源 Animation)
Progress

此動畫的進度百分比。

(繼承來源 Animation)
Repeats

dotnet_analyzer_diagnostic。CA1805.severity = none 指定此動畫是否應該重複。

(繼承來源 Animation)
StartDelay

在動畫開始之前,延遲 (以秒為單位) 考慮。

(繼承來源 Animation)
Step

此動畫的每個刻度之後叫用的回呼。

(繼承來源 Animation)

方法

Add(Double, Double, Animation)

Animation 物件新增至從 beginAt 開始並於 finishAt 完成的這個 Animation

Add(Double, Double, Animation)

使用指定的參數,將新的子動畫新增至這個動畫。

(繼承來源 Animation)
Commit(IAnimatable, String, UInt32, UInt32, Easing, Action<Double,Boolean>, Func<Boolean>)

以提供的參數執行 owner 動畫。

Commit(IAnimationManager)

IAnimationManager設定這個動畫的 。

(繼承來源 Animation)
CreateAutoReversing()

建立動畫,其中包含原始動畫和相同動畫的反轉版本。

(繼承來源 Animation)
CreateReverse()

建立目前動畫的反轉版本,包括反轉子動畫。

(繼承來源 Animation)
Dispose()

封裝動畫,這是在使用者可察覺期間內修改屬性的函式集合。

(繼承來源 Animation)
Dispose(Boolean)

封裝動畫,這是在使用者可察覺期間內修改屬性的函式集合。

(繼承來源 Animation)
GetCallback()

傳回回呼,在已開始但尚未完成的這個 Animation 物件及其子系上,以遞迴方式執行分階段減緩的動畫。

GetEnumerator()

IEnumerator提供子動畫的 。

(繼承來源 Animation)
Insert(Double, Double, Animation)

Animation 物件新增至從 beginAt 開始並於 finishAt 完成的這個 Animation

OnTick(Double)

執行邏輯來更新此動畫中的所有動畫。

(繼承來源 Animation)
Pause()

暫停動畫。

(繼承來源 Animation)
RemoveFromParent()

從其父系中移除此動畫。 如果沒有父代,則不會發生任何動作。

(繼承來源 Animation)
Reset()

封裝動畫,這是在使用者可察覺期間內修改屬性的函式集合。

Resume()

繼續動畫。

(繼承來源 Animation)
Tick(Double)

觸發此動畫更新的方法。

(繼承來源 Animation)
Update(Double)

藉由更新Progress和叫用 Step來 匯報 此動畫。

(繼承來源 Animation)
WithConcurrent(Action<Double>, Double, Double, Easing, Double, Double)

使用指定的 callback 建立新 Animation 物件,並將它新增至這個 Animation 物件的子系。

WithConcurrent(Animation, Double, Double)

animation 新增至這個 Animation 物件的子系,並將 animation 的開始和結束時間分別設為 beginAtfinishAt

適用於