Retrieves the transformed position and state information for the specified pointer, from the last pointer event up to and including the current pointer event.
In most cases, we recommend that you obtain pointer info through the pointer event handlers of your chosen Windows 8 language framework (Windows Store apps using JavaScript, Windows Store apps built for Windows using C++, C#, or Visual Basic, or Windows Store apps built for Windows using DirectX with C++).
If the event argument doesn't expose the pointer details required by your app, you can get access to extended pointer data from the event argument through the getCurrentPoint and getIntermediatePoints methods or currentPoint and intermediatePoints properties. We recommend using the getCurrentPoint and getIntermediatePoints methods as you can specify the context of the pointer data.
The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the context of the app.
Syntax
var iVector = Windows.UI.Input.PointerPoint.getIntermediatePoints(pointerId, transform);
Parameters
- pointerId
-
Type: Number [JavaScript] | System.UInt32 [.NET] | uint32 [C++]
The ID of the pointer.
- transform
-
Type: IPointerPointTransform
The transform to apply to the pointer.
Return value
Type: IVector<PointerPoint> [JavaScript/C++] | System.Collections.Generic.IList<PointerPoint> [.NET]
The transformed pointer properties (current and historic).
Remarks
GetIntermediatePoints is a static method.
This method is useful for getting pointer information relative to a specific element.
The most recent pointer information retrieved by this method is equivalent to that retrieved by the GetCurrentPoint method.
Windows Phone 8
This API is not implemented and will throw an exception if called.
Requirements
|
Minimum supported client | Windows 8 |
|---|---|
|
Minimum supported server | Windows Server 2012 |
|
Minimum supported phone | Windows Phone 8 |
|
Namespace |
|
|
Metadata |
|
See also
Build date: 2/25/2013