Bagikan melalui


TouchLocation Members

The following tables list the members exposed by the TouchLocation type.

Public Constructors

Name Description
Public Method TouchLocation Overloaded. Initializes a new instance of the TouchLocation structure.

Public Properties

Name Description
Public Property Id Gets the ID of the touch location.
Public Property Position Gets the position of the touch location.
Public Property State Gets the state of the touch location.

Public Methods

Name Description
Public Method Equals Overloaded. Determines whether the TouchLocation is equal to a specified object.
Public Method GetHashCode Gets the hash code for this TouchLocation.
Public Method GetType (Inherited from Object.)
Public Method Static op_Equality Determines whether two TouchLocation instances are equal.
Public Method Static op_Inequality Determines whether two TouchLocation instances are unequal.
Public Method ToString Gets a string representation of the TouchLocation.
Public Method TryGetPreviousLocation Attempts to get the previous location of this touch location object.

Protected Methods

Name Description
Protected Method Finalize (Inherited from Object.)
Protected Method MemberwiseClone (Inherited from Object.)

See Also

Reference

TouchLocation Structure
Microsoft.Xna.Framework.Input.Touch Namespace