Uređivanje

Dijeli putem


TouchPoint Class

Definition

Represents a single touch point from a multitouch message source.

public ref class TouchPoint : IEquatable<System::Windows::Input::TouchPoint ^>
public class TouchPoint : IEquatable<System.Windows.Input.TouchPoint>
type TouchPoint = class
    interface IEquatable<TouchPoint>
Public Class TouchPoint
Implements IEquatable(Of TouchPoint)
Inheritance
TouchPoint
Implements

Constructors

TouchPoint(TouchDevice, Point, Rect, TouchAction)

Initializes a new instance of the TouchPoint class.

Properties

Action

Gets the last action that occurred at this location.

Bounds

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

Position

Gets the location of the touch point.

Size

Gets the size of the Bounds property.

TouchDevice

Gets the touch device that generated this TouchPoint.

Methods

Equals(Object)

Determines whether the specified object is equal to the current object.

(Inherited from Object)
GetHashCode()

Serves as the default hash function.

(Inherited from Object)
GetType()

Gets the Type of the current instance.

(Inherited from Object)
MemberwiseClone()

Creates a shallow copy of the current Object.

(Inherited from Object)
ToString()

Returns a string that represents the current object.

(Inherited from Object)

Explicit Interface Implementations

IEquatable<TouchPoint>.Equals(TouchPoint)

Indicates whether the current object is equal to another TouchPoint.

Applies to