PointerPoint.GetIntermediatePoints Method

Definition

Overloads

GetIntermediatePoints(UInt32)

Retrieves 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 get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

GetIntermediatePoints(UInt32, IPointerPointTransform)

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 get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

GetIntermediatePoints(UInt32)

Retrieves 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 get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

public:
 static IVector<PointerPoint ^> ^ GetIntermediatePoints(unsigned int pointerId);
/// [Windows.Foundation.Metadata.Overload("GetIntermediatePoints")]
 static IVector<PointerPoint> GetIntermediatePoints(uint32_t const& pointerId);
[Windows.Foundation.Metadata.Overload("GetIntermediatePoints")]
public static IList<PointerPoint> GetIntermediatePoints(uint pointerId);
function getIntermediatePoints(pointerId)
Public Shared Function GetIntermediatePoints (pointerId As UInteger) As IList(Of PointerPoint)

Parameters

pointerId
UInt32

unsigned int

uint32_t

The ID of the pointer.

Returns

The transformed pointer properties (current and historic).

Attributes

Remarks

GetIntermediatePoints is a static method.

The most recent pointer information retrieved by this method is equivalent to that retrieved by the GetCurrentPoint method.

See also

Applies to

GetIntermediatePoints(UInt32, IPointerPointTransform)

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 get pointer info through the event argument of the pointer event handlers in your chosen language framework (Windows app using JavaScript, UWP app using C++, C#, or Visual Basic, or UWP app using DirectX with C++).

If the event argument doesn't intrinsically expose the pointer details required by your app, you can get access to extended pointer data through the GetCurrentPoint and GetIntermediatePoints methods of PointerRoutedEventArgs. Use these methods to specify the context of the pointer data.

The static PointerPoint methods, GetCurrentPoint and GetIntermediatePoints, always use the app context.

public:
 static IVector<PointerPoint ^> ^ GetIntermediatePoints(unsigned int pointerId, IPointerPointTransform ^ transform);
/// [Windows.Foundation.Metadata.Overload("GetIntermediatePointsTransformed")]
 static IVector<PointerPoint> GetIntermediatePoints(uint32_t const& pointerId, IPointerPointTransform const& transform);
[Windows.Foundation.Metadata.Overload("GetIntermediatePointsTransformed")]
public static IList<PointerPoint> GetIntermediatePoints(uint pointerId, IPointerPointTransform transform);
function getIntermediatePoints(pointerId, transform)
Public Shared Function GetIntermediatePoints (pointerId As UInteger, transform As IPointerPointTransform) As IList(Of PointerPoint)

Parameters

pointerId
UInt32

unsigned int

uint32_t

The ID of the pointer.

transform
IPointerPointTransform

The transform to apply to the pointer.

Returns

The transformed pointer properties (current and historic).

Attributes

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.

See also

Applies to