Share via


DiscreteColorKeyFrame 建構函式

定義

初始化 DiscreteColorKeyFrame 類別的新執行個體。

多載

DiscreteColorKeyFrame()

初始化 DiscreteColorKeyFrame 類別的新執行個體。

DiscreteColorKeyFrame(Color)

使用指定的結束值,初始化 DiscreteColorKeyFrame 類別的新執行個體。

DiscreteColorKeyFrame(Color, KeyTime)

使用指定結束值和 Key Time,初始化 DiscreteColorKeyFrame 類別的新執行個體。

DiscreteColorKeyFrame()

初始化 DiscreteColorKeyFrame 類別的新執行個體。

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

適用於

DiscreteColorKeyFrame(Color)

使用指定的結束值,初始化 DiscreteColorKeyFrame 類別的新執行個體。

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

參數

value
Color

主要畫面的結束值 (也稱為「目標值」)。

適用於

DiscreteColorKeyFrame(Color, KeyTime)

使用指定結束值和 Key Time,初始化 DiscreteColorKeyFrame 類別的新執行個體。

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

參數

value
Color

主要畫面的結束值 (也稱為「目標值」)。

keyTime
KeyTime

主要畫面的 Key Time。 Key Time 決定何時到達目標值,這也是主要畫面的結束時間。

適用於