Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

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

© 2015 Microsoft