Mercurial > silverbladetech
comparison SilverlightGlimpse/SilverFlow.Controls/Controllers/InertialMotion.cs @ 63:536498832a79
Latest version before changing bindings to Listbox
author | Steven Hollidge <stevenhollidge@hotmail.com> |
---|---|
date | Sun, 22 Apr 2012 13:33:42 +0100 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
62:810116cd6b8e | 63:536498832a79 |
---|---|
1 using System.Windows; | |
2 using System.Windows.Media.Animation; | |
3 | |
4 namespace SilverFlow.Controls.Controllers | |
5 { | |
6 /// <summary> | |
7 /// Represents a vector and duration of the inertial motion, calculated by the InertiaController. | |
8 /// </summary> | |
9 public class InertialMotion | |
10 { | |
11 /// <summary> | |
12 /// Gets or sets ending position of the displaced element. | |
13 /// </summary> | |
14 /// <value>The ending position.</value> | |
15 public Point EndPosition { get; set; } | |
16 | |
17 /// <summary> | |
18 /// Gets or sets duration of the inertial motion in seconds. | |
19 /// </summary> | |
20 /// <value>Duration of the inertial motion in seconds.</value> | |
21 public double Seconds { get; set; } | |
22 | |
23 /// <summary> | |
24 /// Gets or sets the Easing Function applied to the animation. | |
25 /// </summary> | |
26 /// <value>The Easing Function.</value> | |
27 public IEasingFunction EasingFunction { get; set; } | |
28 | |
29 /// <summary> | |
30 /// Initializes a new instance of the <see cref="InertialMotion"/> class. | |
31 /// </summary> | |
32 public InertialMotion() | |
33 { | |
34 this.Seconds = 0; | |
35 } | |
36 } | |
37 } |