RectAnimationUsingKeyFrames.GetCurrentValueCore 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
計算出一個代表被動畫屬性目前值的值,該值由此實例 RectAnimationUsingKeyFrames決定。
protected:
override System::Windows::Rect GetCurrentValueCore(System::Windows::Rect defaultOriginValue, System::Windows::Rect defaultDestinationValue, System::Windows::Media::Animation::AnimationClock ^ animationClock);
protected override sealed System.Windows.Rect GetCurrentValueCore(System.Windows.Rect defaultOriginValue, System.Windows.Rect defaultDestinationValue, System.Windows.Media.Animation.AnimationClock animationClock);
override this.GetCurrentValueCore : System.Windows.Rect * System.Windows.Rect * System.Windows.Media.Animation.AnimationClock -> System.Windows.Rect
Protected Overrides NotOverridable Function GetCurrentValueCore (defaultOriginValue As Rect, defaultDestinationValue As Rect, animationClock As AnimationClock) As Rect
參數
- defaultOriginValue
- Rect
建議的起始值,若動畫沒有明確設定的起始值,則使用。
- defaultDestinationValue
- Rect
建議的目的地值,若動畫沒有明確設定的結束值,則使用。
- animationClock
- AnimationClock
一個AnimationClock產生CurrentTimeCurrentProgress或由主機使用的動畫的
傳回
根據當前實例計算出的財產價值。
備註
如果 defaultOriginValue 是組合鏈中的第一個,這個值會是快照值(如果有的話)或基礎屬性值;否則這個值就是前一個動畫中沒有 AnimationClock 停止的回傳值。
若動畫位於屬性的第一個合成層動畫,則 defaultDestinationValue 為基礎值;否則,該值為該屬性前一組合成層動畫的輸出值。