Sdílet prostřednictvím


TouchPanel.ReadGesture Method

Reads an available gesture on the touch panel.

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

Syntax

public static GestureSample ReadGesture ()

Return Value

A GestureSample that represents the next gesture to read.

Remarks

After reading a gesture, TouchPanel.IsGestureAvailable is true if there are more gestures to read.

See Also

Tasks

Detecting Gestures on a Multitouch Screen (Windows Phone)
Working with Touch Input (Windows Phone)

Reference

TouchPanel Class
TouchPanel Members
Microsoft.Xna.Framework.Input.Touch Namespace

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP