Επεξεργασία

Κοινή χρήση μέσω


TouchPoint(TouchDevice, Point, Rect, TouchAction) Constructor

Definition

Initializes a new instance of the TouchPoint class.

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)

Parameters

device
TouchDevice

The touch device that generated this TouchPoint.

position
Point

The location of the touch point.

bounds
Rect

The bounds of the area that the finger has in contact with the screen.

action
TouchAction

The last action that occurred by this device at this location.

Exceptions

The device is null.

Remarks

The coordinate space of this position and bounds should be consistent.

Applies to