Επεξεργασία

Κοινή χρήση μέσω


PointAnimation Constructors

Definition

Initializes a new instance of the PointAnimation class.

Overloads

PointAnimation()

Initializes a new instance of the PointAnimation class.

PointAnimation(Point, Duration)

Initializes a new instance of the PointAnimation 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.

PointAnimation(Point, Duration, FillBehavior)

Initializes a new instance of the PointAnimation 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.

PointAnimation(Point, Point, Duration)

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

PointAnimation(Point, Point, Duration, FillBehavior)

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

PointAnimation()

Initializes a new instance of the PointAnimation class.

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

Applies to

PointAnimation(Point, Duration)

Initializes a new instance of the PointAnimation 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:
 PointAnimation(System::Windows::Point toValue, System::Windows::Duration duration);
public PointAnimation (System.Windows.Point toValue, System.Windows.Duration duration);
new System.Windows.Media.Animation.PointAnimation : System.Windows.Point * System.Windows.Duration -> System.Windows.Media.Animation.PointAnimation
Public Sub New (toValue As Point, duration As Duration)

Parameters

toValue
Point

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

PointAnimation(Point, Duration, FillBehavior)

Initializes a new instance of the PointAnimation 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:
 PointAnimation(System::Windows::Point toValue, System::Windows::Duration duration, System::Windows::Media::Animation::FillBehavior fillBehavior);
public PointAnimation (System.Windows.Point toValue, System.Windows.Duration duration, System.Windows.Media.Animation.FillBehavior fillBehavior);
new System.Windows.Media.Animation.PointAnimation : System.Windows.Point * System.Windows.Duration * System.Windows.Media.Animation.FillBehavior -> System.Windows.Media.Animation.PointAnimation
Public Sub New (toValue As Point, duration As Duration, fillBehavior As FillBehavior)

Parameters

toValue
Point

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

PointAnimation(Point, Point, Duration)

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

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

Parameters

fromValue
Point

The starting value of the animation.

toValue
Point

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

PointAnimation(Point, Point, Duration, FillBehavior)

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

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

Parameters

fromValue
Point

The starting value of the animation.

toValue
Point

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