Editar

Partilhar via


VectorAnimation Constructors

Definition

Initializes a new instance of the VectorAnimation class.

Overloads

VectorAnimation()

Initializes a new instance of the VectorAnimation class.

VectorAnimation(Vector, Duration)

Initializes a new instance of the VectorAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

VectorAnimation(Vector, Duration, FillBehavior)

Initializes a new instance of the VectorAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

VectorAnimation(Vector, Vector, Duration)

Initializes a new instance of the VectorAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

VectorAnimation(Vector, Vector, Duration, FillBehavior)

Initializes a new instance of the VectorAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

VectorAnimation()

Initializes a new instance of the VectorAnimation class.

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

Applies to

VectorAnimation(Vector, Duration)

Initializes a new instance of the VectorAnimation class that animates to the specified value over the specified duration. The starting value for the animation is the base value of the property being animated or the output from another animation.

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

Parameters

toValue
Vector

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

Applies to

VectorAnimation(Vector, Duration, FillBehavior)

Initializes a new instance of the VectorAnimation class that animates to the specified value over the specified duration and has the specified fill behavior. The starting value for the animation is the base value of the property being animated or the output from another animation.

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

Parameters

toValue
Vector

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior

Specifies how the animation behaves when it is not active.

Applies to

VectorAnimation(Vector, Vector, Duration)

Initializes a new instance of the VectorAnimation class that animates from the specified starting value to the specified destination value over the specified duration.

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

Parameters

fromValue
Vector

The starting value of the animation.

toValue
Vector

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

Applies to

VectorAnimation(Vector, Vector, Duration, FillBehavior)

Initializes a new instance of the VectorAnimation class that animates from the specified starting value to the specified destination value over the specified duration and has the specified fill behavior.

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

Parameters

fromValue
Vector

The starting value of the animation.

toValue
Vector

The destination value of the animation.

duration
Duration

The length of time the animation takes to play from start to finish, once. See the Duration property for more information.

fillBehavior
FillBehavior

Specifies how the animation behaves when it is not active.

Applies to