Bagikan melalui


TouchLocation.Position Property

Gets the position of the touch location.

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

Syntax

public Vector2 Position { get; }

Property Value

Posiiton, in screen coordinates, of the touch location.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP