TouchPoint(TouchDevice, Point, Rect, TouchAction) Konstruktor

Definice

Inicializuje novou instanci TouchPoint třídy.

public:
 TouchPoint(System::Windows::Input::TouchDevice ^ device, System::Windows::Point position, System::Windows::Rect bounds, System::Windows::Input::TouchAction action);
public TouchPoint(System.Windows.Input.TouchDevice device, System.Windows.Point position, System.Windows.Rect bounds, System.Windows.Input.TouchAction action);
new System.Windows.Input.TouchPoint : System.Windows.Input.TouchDevice * System.Windows.Point * System.Windows.Rect * System.Windows.Input.TouchAction -> System.Windows.Input.TouchPoint
Public Sub New (device As TouchDevice, position As Point, bounds As Rect, action As TouchAction)

Parametry

device
TouchDevice

Dotykové zařízení, které toto TouchPointvygenerovalo .

position
Point

Umístění dotykového bodu.

bounds
Rect

Hranice oblasti, kterou má prst v kontaktu s obrazovkou.

action
TouchAction

Poslední akce, ke které došlo u tohoto zařízení v tomto umístění

Výjimky

To device je null.

Poznámky

Souřadnicový prostor by positionbounds měl být konzistentní.

Platí pro