MouseEvent QML Type
A mouse or touch event, such as movement, a tap, or a release. More...
Import Statement: | import Esri.ArcGISRuntime |
Since: | Esri.ArcGISRuntime 100.0 |
Inherits: |
- List of all members, including inherited members
- MouseEvent is part of QML Type List.
Properties
Detailed Description
Note: You cannot declare or create a component of this type in QML code.
MouseEvent provides the location of the event translated into map coordinates.
See also QMouseEvent.
Property Documentation
[read-only] button : int |
Returns the button that caused the mouse event (read-only).
For mouse move events, the value is always Qt.NoButton
. Other options include Qt.LeftButton
, Qt.RightButton
, and Qt.MiddleButton
.
[read-only] buttons : int |
Returns the buttons pressed that caused the mouse event (read-only).
[read-only] mapX : double |
Returns the x component of the x,y-coordinate of the corresponding map location (read-only).
[read-only] mapY : double |
Returns the x component of the x,y-coordinate of the corresponding map location (read-only).
[read-only] x : double |
Returns the x component of the x,y screen coordinates of this mouse event (read-only).
[read-only] y : double |
Returns the y component of the x,y screen coordinates of this mouse event (read-only).