StylusEventArgs.GetStylusPoints Método

Definição

Retorna um StylusPointCollection que contém os objetos StylusPoint coletados no evento.

Sobrecargas

GetStylusPoints(IInputElement)

Retorna um StylusPointCollection que contém objetos StylusPoint em relação ao elemento de entrada especificado.

GetStylusPoints(IInputElement, StylusPointDescription)

Retorna um StylusPointCollection que usa o StylusPointDescription especificado e contém objetos StylusPoint com relação ao elemento de entrada especificado.

GetStylusPoints(IInputElement)

Retorna um StylusPointCollection que contém objetos StylusPoint em relação ao elemento de entrada especificado.

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

Parâmetros

relativeTo
IInputElement

O IInputElement para o qual as coordenadas (x,y) no StylusPointCollection são mapeadas.

Retornos

Um StylusPointCollection que contém os objetos StylusPoint coletados no evento.

Exceções

Aplica-se a

GetStylusPoints(IInputElement, StylusPointDescription)

Retorna um StylusPointCollection que usa o StylusPointDescription especificado e contém objetos StylusPoint com relação ao elemento de entrada especificado.

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

Parâmetros

relativeTo
IInputElement

O IInputElement para o qual as coordenadas (x,y) no StylusPointCollection são mapeadas.

Retornos

Um StylusPointCollection que contém os objetos StylusPoint coletados durante um evento.

Exceções

Comentários

subsetToReformatTo deve ser compatível com a Description propriedade do StylusPointCollection do do GetStylusPoints(IInputElement) método . Use o GetCommonDescription método para obter um StylusPointDescription antes de chamar o GetStylusPoints(IInputElement, StylusPointDescription) método .

Observação

GetStylusPoints usa restrições do StylusPointCollection em StylusEventArgs, mesmo que as restrições em subsetToReformatTo sejam diferentes. Por exemplo, se subsetToReformatTo usa NormalPressure valores de 0 e 1023, mas StylusEventArgs usa valores de 0 e 255, GetStylusPoints retorna um StylusPointDescription que contém os valores 0 e 255.

Aplica-se a