middleware/src/Communication/TuioCursor.cs
changeset 4 f4e52a4c34b3
parent 3 92f19af39024
child 5 d40f84d77db4
equal deleted inserted replaced
3:92f19af39024 4:f4e52a4c34b3
     1 using System;
       
     2 using System.Collections.Generic;
       
     3 using System.Drawing;
       
     4 using System.Linq;
       
     5 using System.Text;
       
     6 
       
     7 namespace Tuio
       
     8 {
       
     9     /// <summary>
       
    10     /// TUIO cursor.
       
    11     /// 
       
    12     /// (c) 2010 by Dominik Schmidt (schmidtd@comp.lancs.ac.uk)
       
    13     /// </summary>
       
    14     public class TuioCursor
       
    15     {
       
    16         #region properties
       
    17 
       
    18         public int Id { get; private set; }
       
    19 
       
    20         public PointF Location { get; set; }
       
    21 
       
    22         public PointF Speed { get; set; }
       
    23 
       
    24         public float MotionAcceleration { get; set; }
       
    25 
       
    26         #endregion
       
    27 
       
    28         #region constructors
       
    29 
       
    30         public TuioCursor(int id, PointF location)
       
    31         {
       
    32             Id = id;
       
    33             Location = location;
       
    34         }
       
    35 
       
    36         #endregion
       
    37 
       
    38     }
       
    39 }