harmony 鸿蒙OH_NativeXComponent_MouseEvent

2023-06-24 浏览 (597)

OH_NativeXComponent_MouseEvent

Overview

Describes the mouse event.

Since:

9

Related Modules:

Native XComponent

Summary

Member Variables

NameDescription
x = 0.0X coordinate of the clicked point relative to the upper left corner of the component.
y = 0.0Y coordinate of the clicked point relative to the upper left corner of the component.
screenX = 0.0X coordinate of the clicked point relative to the upper left corner of the screen.
screenY = 0.0Y coordinate of the clicked point relative to the upper left corner of the screen.
timestamp = 0Timestamp of the current mouse event.
action = OH_NativeXComponent_MouseEventAction::OH_NATIVEXCOMPONENT_MOUSE_NONECurrent mouse event action.
button = OH_NativeXComponent_MouseEventButton::OH_NATIVEXCOMPONENT_NONE_BUTTONMouse event button

你可能感兴趣的鸿蒙文章

harmony 鸿蒙Native APIs

harmony 鸿蒙AVCapability

harmony 鸿蒙AVDemuxer

harmony 鸿蒙AVMuxer

harmony 鸿蒙AVScreenCapture

harmony 鸿蒙AVSource

harmony 鸿蒙AudioDecoder

harmony 鸿蒙AudioEncoder

harmony 鸿蒙CodecBase

harmony 鸿蒙Core

  • 所属分类: 后端技术
  • 本文标签: 鸿蒙 软件
  • 版权声明: 本文链接 https://seaxiang.com/blog/1e9bd55cbf764f0e96efc61f5e8a359d