harmony 鸿蒙OH_NativeXComponent_MouseEvent
OH_NativeXComponent_MouseEvent
Overview
Describes the mouse event.
Since:
9
Related Modules:
Summary
Member Variables
Name | Description |
---|---|
x = 0.0 | X coordinate of the clicked point relative to the upper left corner of the component. |
y = 0.0 | Y coordinate of the clicked point relative to the upper left corner of the component. |
screenX = 0.0 | X coordinate of the clicked point relative to the upper left corner of the screen. |
screenY = 0.0 | Y coordinate of the clicked point relative to the upper left corner of the screen. |
timestamp = 0 | Timestamp of the current mouse event. |
action = OH_NativeXComponent_MouseEventAction::OH_NATIVEXCOMPONENT_MOUSE_NONE | Current mouse event action. |
button = OH_NativeXComponent_MouseEventButton::OH_NATIVEXCOMPONENT_NONE_BUTTON | Mouse event button |
你可能感兴趣的鸿蒙文章
0
赞
- 所属分类: 后端技术
- 本文标签:
热门推荐
-
2、 - 优质文章
-
3、 gate.io
-
8、 golang
-
9、 openharmony
-
10、 Vue中input框自动聚焦