RectAnimation 构造函数

定义

初始化 RectAnimation 类的新实例。

重载

名称 说明
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

指定动画在未处于活动状态时的行为方式。

适用于