語言

RectAnimation 建構函式

定義

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

多載

名稱 Description
RectAnimation()

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

RectAnimation(Rect, Duration)

初始化一個新的類別實例,該實例 RectAnimation 在指定時長內動畫到指定值。 動畫的起始值是被動畫屬性的基值,或是另一個動畫的輸出值。

RectAnimation(Rect, Duration, FillBehavior)

初始化一個新的類別實例,該實例 RectAnimation 在指定時間內以指定值動畫,並具有指定的填充行為。 動畫的起始值是被動畫屬性的基值,或是另一個動畫的輸出值。

RectAnimation(Rect, Rect, Duration)

初始化一個新的類別實例 RectAnimation ,從指定的起始值到指定的目標值,持續時間內進行動畫。

RectAnimation(Rect, Rect, Duration, FillBehavior)

初始化一個新的類別實例,該實例 RectAnimation 從指定的起始值到指定的目標值,持續時間內進行動畫,並具備指定的填充行為。

RectAnimation()

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

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

適用於

RectAnimation(Rect, Duration)

初始化一個新的類別實例,該實例 RectAnimation 在指定時長內動畫到指定值。 動畫的起始值是被動畫屬性的基值,或是另一個動畫的輸出值。

public:
 RectAnimation(System::Windows::Rect toValue, System::Windows::Duration duration);
public RectAnimation(System.Windows.Rect toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.RectAnimation : System.Windows.Rect * System.Windows.Duration -> System.Windows.Media.Animation.RectAnimation
Public Sub New (toValue As Rect, duration As Duration)

參數

toValue
Rect

動畫的目的地值。

duration
Duration

動畫從頭到尾播放一次所需的時間。 詳情請參閱該 Duration 物業。

適用於

RectAnimation(Rect, Duration, FillBehavior)

初始化一個新的類別實例,該實例 RectAnimation 在指定時間內以指定值動畫,並具有指定的填充行為。 動畫的起始值是被動畫屬性的基值,或是另一個動畫的輸出值。

public:
 RectAnimation(System::Windows::Rect toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public RectAnimation(System.Windows.Rect toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.RectAnimation : System.Windows.Rect * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.RectAnimation
Public Sub New (toValue As Rect, duration As Duration, fillBehavior As FillBehavior)

參數

toValue
Rect

動畫的目的地值。

duration
Duration

動畫從頭到尾播放一次所需的時間。 詳情請參閱該 Duration 物業。

fillBehavior
FillBehavior

指定動畫在未啟動時的行為。

適用於

RectAnimation(Rect, Rect, Duration)

初始化一個新的類別實例 RectAnimation ,從指定的起始值到指定的目標值,持續時間內進行動畫。

public:
 RectAnimation(System::Windows::Rect fromValue, System::Windows::Rect toValue, System::Windows::Duration duration);
public RectAnimation(System.Windows.Rect fromValue, System.Windows.Rect toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.RectAnimation : System.Windows.Rect * System.Windows.Rect * System.Windows.Duration -> System.Windows.Media.Animation.RectAnimation
Public Sub New (fromValue As Rect, toValue As Rect, duration As Duration)

參數

fromValue
Rect

動畫的起始值。

toValue
Rect

動畫的目的地值。

duration
Duration

動畫從頭到尾播放一次所需的時間。 詳情請參閱該 Duration 物業。

適用於

RectAnimation(Rect, Rect, Duration, FillBehavior)

初始化一個新的類別實例,該實例 RectAnimation 從指定的起始值到指定的目標值,持續時間內進行動畫,並具備指定的填充行為。

public:
 RectAnimation(System::Windows::Rect fromValue, System::Windows::Rect toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public RectAnimation(System.Windows.Rect fromValue, System.Windows.Rect toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.RectAnimation : System.Windows.Rect * System.Windows.Rect * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.RectAnimation
Public Sub New (fromValue As Rect, toValue As Rect, duration As Duration, fillBehavior As FillBehavior)

參數

fromValue
Rect

動畫的起始值。

toValue
Rect

動畫的目的地值。

duration
Duration

動畫從頭到尾播放一次所需的時間。 詳情請參閱該 Duration 物業。

fillBehavior
FillBehavior

指定動畫在未啟動時的行為。

適用於