MouseClass class constructor
click clicks a mouse button
doubleClick performs a double click on a mouse button
drag drags the mouse along a certain path In summary, drag presses and holds the left mouse button, moves the mouse and releases the left button
getPosition returns a Point representing the current mouse position
leftClick performs a click with the left mouse button
Array of Points to follow
Defines the type of mouse movement. Would allow to configured acceleration etc. (Default: linear, no acceleration)
pressButton presses and holds a mouse button
releaseButton releases a mouse button previously pressed via pressButton
rightClick performs a click with the right mouse button
scrollDown scrolls down for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollLeft scrolls left for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollRight scrolls right for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
scrollUp scrolls up for a given amount of "steps" Please note that the actual scroll distance of a single "step" is OS dependent
The amount of "steps" to scroll
setPosition instantly moves the mouse cursor to a given Point
Generated using TypeDoc
MouseClass class provides methods to emulate mouse input