Defines the struct of historical touch point information.
System capability: SystemCapability.Stylus.HandWrite
Since: 6.0.0(20)
Related module: HandWrite
Header file: native_handwrite_api.h
| Name | Description |
|---|---|
| float x | X coordinate of the historical touch point relative to the left edge of the touched element, in pixels. |
| float y | Y coordinate of the historical touch point relative to the top edge of the touched element, in pixels. |
| int64_t timeStamp | Timestamp of the current historical touch point, in nanoseconds. |
| float force | Pressure value of the current historical touch point. |
float HandWrite_HistoricalPoint::x
Description
X coordinate of the historical touch point relative to the left edge of the touched element, in pixels.
float HandWrite_HistoricalPoint::y
Description
Y coordinate of the historical touch point relative to the top edge of the touched element, in pixels.