PointAnimation.GetCurrentValueCore(Point, Point, AnimationClock) 方法

定義

計算值,代表正在顯示動畫之屬性的目前值,如同由 PointAnimation 決定。

protected:
 override System::Windows::Point GetCurrentValueCore(System::Windows::Point defaultOriginValue, System::Windows::Point defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override System.Windows.Point GetCurrentValueCore (System.Windows.Point defaultOriginValue, System.Windows.Point defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : System.Windows.Point * System.Windows.Point * System.Windows.Media.Animation.AnimationClock -> System.Windows.Point
Protected Overrides Function GetCurrentValueCore (defaultOriginValue As Point, defaultDestinationValue As Point, animationClock As AnimationClock) As Point

參數

defaultOriginValue
Point

建議的原始值,如果沒有明確設定動畫本身的起始值,便會使用這個值。

defaultDestinationValue
Point

建議的目的值,如果沒有明確設定動畫本身的結束值,便會使用這個值。

animationClock
AnimationClock

AnimationClock,產生動畫所使用的 CurrentTimeCurrentProgress

傳回

Point

屬性的計算值,由目前的動畫所決定。

備註

defaultOriginValue如果 是組合鏈結中的第一個 ,則如果有一個可用的) 或基底屬性值,這個值將會是快照 (集值,否則這個值將會是鏈 AnimationClock 結中先前動畫傳回的值,且不是 Stopped

defaultDestinationValue如果動畫位於屬性上的第一個動畫組合層,則 為基底值;否則值是屬性上一個動畫組合層的輸出值。

適用於

另請參閱