C# Class Paint.TouchPoint

Touch point. Immutable class for tracking the location and type of 'touch'/gesture made by the user
Inheritance: ITouchPoint
Afficher le fichier Open project: RandolphBurt/MonoGame-iOS-SimplePaint Class Usage Examples

Méthodes publiques

Méthode Description
TouchPoint ( Vector2 position, TouchType touchType ) : Microsoft.Xna.Framework

Initializes a new instance of the Paint.TouchPoint class.

Method Details

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