RectAnimationUsingKeyFrames.GetCurrentValueCore メソッド

定義

この 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

ホスト アニメーションで使用される CurrentTime または CurrentProgress を生成する AnimationClock

戻り値

現在のインスタンスで決定されたとおりに計算されたプロパティ値。

注釈

がコンポジション チェーンの最初の値である場合 defaultOriginValue 、この値はスナップショット値 (使用可能な場合) または基本プロパティ値になります。それ以外の場合、この値は、停止していない チェーン AnimationClock 内の前のアニメーションによって返される値になります。

defaultDestinationValueアニメーションがプロパティのアニメーションの最初のコンポジション レイヤーにある場合は基本値です。それ以外の場合、値は プロパティのアニメーションの前のコンポジション レイヤーからの出力値です。

適用対象

こちらもご覧ください