PointerPoint.GetIntermediatePoints 方法

定義

多載

GetIntermediatePoints(UInt32)

從最後一個指標事件擷取指定指標的位置和狀態資訊,並包含目前的指標事件。

在大部分情況下,建議您透過所選語言架構中指標事件處理常式的事件引數取得指標資訊, (使用 JavaScript、使用 C++、C# 或 Visual Basic 的 UWP 應用程式,或使用 DirectX 搭配 C++) 的 UWP 應用程式。

如果事件引數未內建公開應用程式所需的指標詳細資料,您可以透過PointerRoutedEventArgsGetCurrentPointGetIntermediatePoints方法,存取擴充指標資料。 使用這些方法來指定指標資料的內容。

靜態 PointerPoint 方法 GetCurrentPoint 和 GetIntermediatePoints 一律使用應用程式內容。

GetIntermediatePoints(UInt32, IPointerPointTransform)

從最後一個指標事件擷取所指定指標的轉換位置和狀態資訊,並包含目前的指標事件。

在大部分情況下,建議您透過所選語言架構中指標事件處理常式的事件引數取得指標資訊, (使用 JavaScript、使用 C++、C# 或 Visual Basic 的 UWP 應用程式,或使用 DirectX 搭配 C++) 的 UWP 應用程式。

如果事件引數未內建公開應用程式所需的指標詳細資料,您可以透過PointerRoutedEventArgsGetCurrentPointGetIntermediatePoints方法,存取擴充指標資料。 使用這些方法來指定指標資料的內容。

靜態 PointerPoint 方法 GetCurrentPointGetIntermediatePoints一律使用應用程式內容。

GetIntermediatePoints(UInt32)

從最後一個指標事件擷取指定指標的位置和狀態資訊,並包含目前的指標事件。

在大部分情況下,建議您透過所選語言架構中指標事件處理常式的事件引數取得指標資訊, (使用 JavaScript、使用 C++、C# 或 Visual Basic 的 UWP 應用程式,或使用 DirectX 搭配 C++) 的 UWP 應用程式。

如果事件引數未內建公開應用程式所需的指標詳細資料,您可以透過PointerRoutedEventArgsGetCurrentPointGetIntermediatePoints方法,存取擴充指標資料。 使用這些方法來指定指標資料的內容。

靜態 PointerPoint 方法 GetCurrentPoint 和 GetIntermediatePoints 一律使用應用程式內容。

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)

參數

pointerId
UInt32

unsigned int

uint32_t

指標的識別碼。

傳回

轉換的指標屬性 (目前和歷史) 。

屬性

備註

GetIntermediatePoints 是靜態方法。

此方法所擷取的最新指標資訊相當於 GetCurrentPoint 方法所擷取的指標資訊。

另請參閱

適用於

GetIntermediatePoints(UInt32, IPointerPointTransform)

從最後一個指標事件擷取所指定指標的轉換位置和狀態資訊,並包含目前的指標事件。

在大部分情況下,建議您透過所選語言架構中指標事件處理常式的事件引數取得指標資訊, (使用 JavaScript、使用 C++、C# 或 Visual Basic 的 UWP 應用程式,或使用 DirectX 搭配 C++) 的 UWP 應用程式。

如果事件引數未內建公開應用程式所需的指標詳細資料,您可以透過PointerRoutedEventArgsGetCurrentPointGetIntermediatePoints方法,存取擴充指標資料。 使用這些方法來指定指標資料的內容。

靜態 PointerPoint 方法 GetCurrentPointGetIntermediatePoints一律使用應用程式內容。

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)

參數

pointerId
UInt32

unsigned int

uint32_t

指標的識別碼。

transform
IPointerPointTransform

要套用至指標的轉換。

傳回

轉換的指標屬性 (目前和歷史) 。

屬性

備註

GetIntermediatePoints 是靜態方法。

這個方法適用于取得相對於特定元素的指標資訊。

此方法所擷取的最新指標資訊相當於 GetCurrentPoint 方法所擷取的指標資訊。

另請參閱

適用於