Dela via


PointerPointProperties.ContactRect Property

Definition

Gets the bounding rectangle of the contact area (typically from touch input).

public:
 property Rect ContactRect { Rect get(); };
Rect ContactRect();
public Rect ContactRect { get; }
var rect = pointerPointProperties.contactRect;
Public ReadOnly Property ContactRect As Rect

Property Value

The bounding rectangle of the contact area, using client window coordinates in device-independent pixel (DIP).

Remarks

ContactRect contains the bounding rectangle of the contact area as interpreted by the system. Under some circumstances, such as input prediction, this data can be modified by the system to compensate for hardware latency or message latency due to inherent delays in sensing and processing the pointer location on the digitizer.

See ContactRectRaw for more information on raw input data.

Applies to

See also