StylusEventArgs.GetStylusPoints メソッド

定義

イベントで収集されたStylusPointCollectionオブジェクトを含むStylusPointを返します。

オーバーロード

名前 説明
GetStylusPoints(IInputElement)

指定した入力要素を基準にStylusPointCollectionオブジェクトを含むStylusPointを返します。

GetStylusPoints(IInputElement, StylusPointDescription)

指定したStylusPointCollectionを使用し、指定した入力要素に関連StylusPointDescriptionオブジェクトを含むStylusPointを返します。

GetStylusPoints(IInputElement)

指定した入力要素を基準にStylusPointCollectionオブジェクトを含むStylusPointを返します。

public:
 System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints(System.Windows.IInputElement relativeTo);
member this.GetStylusPoints : System.Windows.IInputElement -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement) As StylusPointCollection

パラメーター

relativeTo
IInputElement

IInputElement内の (x,y) 座標がマップされるStylusPointCollection

返品

イベントで収集StylusPointCollectionオブジェクトを含むStylusPoint

例外

relativeToUIElement でも FrameworkContentElementでもありません。

適用対象

GetStylusPoints(IInputElement, StylusPointDescription)

指定したStylusPointCollectionを使用し、指定した入力要素に関連StylusPointDescriptionオブジェクトを含むStylusPointを返します。

public:
 System::Windows::Input::StylusPointCollection ^ GetStylusPoints(System::Windows::IInputElement ^ relativeTo, System::Windows::Input::StylusPointDescription ^ subsetToReformatTo);
public System.Windows.Input.StylusPointCollection GetStylusPoints(System.Windows.IInputElement relativeTo, System.Windows.Input.StylusPointDescription subsetToReformatTo);
member this.GetStylusPoints : System.Windows.IInputElement * System.Windows.Input.StylusPointDescription -> System.Windows.Input.StylusPointCollection
Public Function GetStylusPoints (relativeTo As IInputElement, subsetToReformatTo As StylusPointDescription) As StylusPointCollection

パラメーター

relativeTo
IInputElement

IInputElement内の (x,y) 座標がマップされるStylusPointCollection

subsetToReformatTo
StylusPointDescription

StylusPointDescriptionによって使用されるStylusPointCollection

返品

イベント中に収集StylusPointCollectionオブジェクトを含むStylusPoint

例外

relativeToUIElement でも FrameworkContentElementでもありません。

注釈

subsetToReformatToは、Description メソッドのStylusPointCollectionGetStylusPoints(IInputElement) プロパティと互換性がある必要があります。 GetCommonDescription メソッドを使用して、StylusPointDescription メソッドを呼び出す前にGetStylusPoints(IInputElement, StylusPointDescription)を取得します。

Note

GetStylusPointsでは、StylusPointCollectionの制約が異なる場合でも、StylusEventArgssubsetToReformatToの制約が使用されます。 たとえば、 subsetToReformatTo は 0 と 1023 の NormalPressure 値を使用し、 StylusEventArgs では 0 と 255 の値を使用する場合、 GetStylusPoints は値 0 と 255 を含む StylusPointDescription を返します。

適用対象