Edit

Share via


SplineColorKeyFrame Constructors

Definition

Initializes a new instance of the SplineColorKeyFrame class.

Overloads

SplineColorKeyFrame()

Initializes a new instance of the SplineColorKeyFrame class.

SplineColorKeyFrame(Color)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value.

SplineColorKeyFrame(Color, KeyTime)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value and key time.

SplineColorKeyFrame(Color, KeyTime, KeySpline)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value, key time, and KeySpline.

SplineColorKeyFrame()

Initializes a new instance of the SplineColorKeyFrame class.

public:
 SplineColorKeyFrame();
public SplineColorKeyFrame ();
Public Sub New ()

Applies to

SplineColorKeyFrame(Color)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value.

public:
 SplineColorKeyFrame(System::Windows::Media::Color value);
public SplineColorKeyFrame (System.Windows.Media.Color value);
new System.Windows.Media.Animation.SplineColorKeyFrame : System.Windows.Media.Color -> System.Windows.Media.Animation.SplineColorKeyFrame
Public Sub New (value As Color)

Parameters

value
Color

Ending value (also known as "target value") for the key frame.

Applies to

SplineColorKeyFrame(Color, KeyTime)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value and key time.

public:
 SplineColorKeyFrame(System::Windows::Media::Color value, System::Windows::Media::Animation::KeyTime keyTime);
public SplineColorKeyFrame (System.Windows.Media.Color value, System.Windows.Media.Animation.KeyTime keyTime);
new System.Windows.Media.Animation.SplineColorKeyFrame : System.Windows.Media.Color * System.Windows.Media.Animation.KeyTime -> System.Windows.Media.Animation.SplineColorKeyFrame
Public Sub New (value As Color, keyTime As KeyTime)

Parameters

value
Color

Ending value (also known as "target value") for the key frame.

keyTime
KeyTime

Key time for the key frame. The key time determines when the target value is reached which is also when the key frame ends.

Applies to

SplineColorKeyFrame(Color, KeyTime, KeySpline)

Initializes a new instance of the SplineColorKeyFrame class with the specified ending value, key time, and KeySpline.

public:
 SplineColorKeyFrame(System::Windows::Media::Color value, System::Windows::Media::Animation::KeyTime keyTime, System::Windows::Media::Animation::KeySpline ^ keySpline);
public SplineColorKeyFrame (System.Windows.Media.Color value, System.Windows.Media.Animation.KeyTime keyTime, System.Windows.Media.Animation.KeySpline keySpline);
new System.Windows.Media.Animation.SplineColorKeyFrame : System.Windows.Media.Color * System.Windows.Media.Animation.KeyTime * System.Windows.Media.Animation.KeySpline -> System.Windows.Media.Animation.SplineColorKeyFrame
Public Sub New (value As Color, keyTime As KeyTime, keySpline As KeySpline)

Parameters

value
Color

Ending value (also known as "target value") for the key frame.

keyTime
KeyTime

Key time for the key frame. The key time determines when the target value is reached which is also when the key frame ends.

keySpline
KeySpline

KeySpline for the key frame. The KeySpline represents a Bezier curve which defines animation progress of the key frame.

Applies to