StylusEventArgs.GetStylusPoints Yöntem

Tanım

olayda toplanan nesneleri içeren StylusPointCollection bir StylusPoint döndürür.

Aşırı Yüklemeler

Name Description
GetStylusPoints(IInputElement)

Belirtilen giriş öğesine göre nesneleri içeren StylusPointCollection bir StylusPoint döndürür.

GetStylusPoints(IInputElement, StylusPointDescription)

Belirtilen öğesini kullanan ve belirtilen StylusPointCollection giriş öğesiyle ilgili nesneleri içeren StylusPointDescription bir StylusPoint döndürür.

GetStylusPoints(IInputElement)

Belirtilen giriş öğesine göre nesneleri içeren StylusPointCollection bir StylusPoint döndürür.

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

Parametreler

relativeTo
IInputElement

IInputElement içindeki x,y (StylusPointCollection) koordinatlarının eşlendiği yer.

Döndürülenler

StylusPointCollection Olayda toplanan nesneleri içeren StylusPoint bir.

Özel durumlar

Şunlara uygulanır

GetStylusPoints(IInputElement, StylusPointDescription)

Belirtilen öğesini kullanan ve belirtilen StylusPointCollection giriş öğesiyle ilgili nesneleri içeren StylusPointDescription bir StylusPoint döndürür.

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

Parametreler

relativeTo
IInputElement

IInputElement içindeki x,y (StylusPointCollection) koordinatlarının eşlendiği yer.

subsetToReformatTo
StylusPointDescription

StylusPointDescription tarafından StylusPointCollectionkullanılacak .

Döndürülenler

Bir StylusPointCollection olay sırasında toplanan nesneleri içeren StylusPoint .

Özel durumlar

Açıklamalar

subsetToReformatToyönteminden Description öğesinin StylusPointCollectionGetStylusPoints(IInputElement) özelliğiyle uyumlu olmalıdır. GetCommonDescription yöntemini çağırmadan StylusPointDescription önce almak GetStylusPoints(IInputElement, StylusPointDescription) için yöntemini kullanın.

Note

GetStylusPoints içindeki kısıtlamaları StylusPointCollectionStylusEventArgsfarklı olsa bile içindeki kısıtlamalarını subsetToReformatTo kullanır. Örneğin, 0 ve 1023 değerlerini kullanıyor subsetToReformatTo ancak 0 ve 255 değerlerini kullanıyorsaNormalPressure, StylusEventArgs 0 ve 255 değerlerini içeren bir GetStylusPointsStylusPointDescription döndürür.

Şunlara uygulanır