C# Class Paint.TouchPoint

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

Public Methods

Method Description
TouchPoint ( Vector2 position, TouchType touchType ) : Microsoft.Xna.Framework

Initializes a new instance of the Paint.TouchPoint class.

Method Details

TouchPoint() public method

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)
return Microsoft.Xna.Framework