TouchLocation Structure

Provides methods and properties for interacting with a touch location on a touch screen device.

Namespace: Microsoft.Xna.Framework.Input.Touch
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

public struct TouchLocation : IEquatable<TouchLocation>

The TouchLocation structure contains information, such as screen location, current state, and amount of pressure for a registered touch location item. A collection of current touch locations is stored in the TouchCollection object of the touch screen device.

Xbox 360, Windows 7, Windows Vista, Windows XP

Community Additions