Mercurial > silverbladetech
view SilverlightGlimpse/SilverFlow.Controls/Geometry/Trail.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 |
line wrap: on
line source
using System; using System.Windows; namespace SilverFlow.Geometry { /// <summary> /// Mouse pointer trail. /// </summary> public class Trail { /// <summary> /// Gets or sets mouse position. /// </summary> /// <value>The position.</value> public Point Position { get; set; } /// <summary> /// Gets or sets the timestamp. /// </summary> /// <value>The timestamp.</value> public DateTime Timestamp { get; set; } /// <summary> /// Initializes a new instance of the <see cref="Trail"/> class. /// </summary> public Trail() { } /// <summary> /// Initializes a new instance of the <see cref="Trail"/> class. /// </summary> /// <param name="point">Point.</param> /// <param name="time">Time.</param> public Trail(Point point, DateTime time) { this.Position = point; this.Timestamp = time; } } }