GestureSample.Position2 Property

Holds the current position of the the second touchpoint in this gesture sample.

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

Syntax

public Vector2 Position2 { get; }

Property Value

A vector that represents the current position of the the second touchpoint in this gesture sample.

Remarks

This data is only valid for a Pinch gesture, currently the only gesture that tracks more than one finger.

See Also

Reference

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

Platforms

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone 7