MouseEvent QML Type

  • Esri.ArcGISRuntime
  • MouseEvent
  • 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:

    InputEvent

    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] mapPoint : Point

    Returns the map Point of this 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).


    Your browser is no longer supported. Please upgrade your browser for the best experience. See our browser deprecation post for more details.