harmony 鸿蒙OH_NativeXComponent_TouchEvent
OH_NativeXComponent_TouchEvent
Overview
Describes the touch event.
Since: 8
Related Modules:
Summary
Member Variables
| Name | Description |
|---|---|
| id = 0 | Unique identifier of the finger. |
| screenX = 0.0 | X coordinate of the touch point relative to the left edge of the screen. |
| screenY = 0.0 | Y coordinate of the touch point relative to the upper edge of the screen. |
| x = 0.0 | X coordinate of the touch point relative to the left edge of the XComponent. |
| y = 0.0 | Y coordinate of the touch point relative to the upper edge of the XComponent. |
| type = OH_NativeXComponent_TouchEventType::OH_NATIVEXCOMPONENT_UNKNOWN | Touch type of the touch event. |
| size = 0.0 | Contact area between the finger pad and the screen. |
| force = 0.0 | Pressure of the current touch event. |
| deviceId = 0 | ID of the device where the current touch event is triggered. |
| timeStamp = 0 | Timestamp of the current touch event. |
| touchPoints [OH_MAX_TOUCH_POINTS_NUMBER] | Array of the current touch points. |
| numPoints = 0 | Number of current touch points. |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 openharmony
-
9、 golang