Paint.TouchPoint.TouchPoint C# (CSharp) Méthode

TouchPoint() public méthode

Initializes a new instance of the Paint.TouchPoint class.
public TouchPoint ( Vector2 position, TouchType touchType ) : Microsoft.Xna.Framework
position Microsoft.Xna.Framework.Vector2 The position on screen that the user touched.
touchType TouchType Touch type (FreeFrag, Tap etc)
Résultat Microsoft.Xna.Framework
        public TouchPoint(Vector2 position, TouchType touchType)
        {
            this.Position = position;
            this.TouchType = touchType;
        }
TouchPoint