Dart Documentationcanvas_queryCqMouseEvent

CqMouseEvent class

Event that is produced by some of the Streams in CqFramework with basic information about a mouse event.

class CqMouseEvent {
 /// Position of the mouse when the event was triggered.
 final Point position;
 /// Button that was used when the event was triggered.
 final int button;
 CqMouseEvent(this.position, this.button);
}

Constructors

new CqMouseEvent(Point position, int button) #

CqMouseEvent(this.position, this.button);

Properties

final int button #

button

final Point position #

position