Interface IMouse
Provides methods representing basic mouse actions.
public interface IMouse
Methods
Click(ICoordinates)
Clicks at a set of coordinates using the primary mouse button.
void Click(ICoordinates where)
Parameters
where
ICoordinatesAn ICoordinates describing where to click.
ContextClick(ICoordinates)
Clicks at a set of coordinates using the secondary mouse button.
void ContextClick(ICoordinates where)
Parameters
where
ICoordinatesA ICoordinates describing where to click.
DoubleClick(ICoordinates)
Double-clicks at a set of coordinates.
void DoubleClick(ICoordinates where)
Parameters
where
ICoordinatesA ICoordinates describing where to double-click.
MouseDown(ICoordinates)
Presses the primary mouse button at a set of coordinates.
void MouseDown(ICoordinates where)
Parameters
where
ICoordinatesA ICoordinates describing where to press the mouse button down.
MouseMove(ICoordinates)
Moves the mouse to the specified set of coordinates.
void MouseMove(ICoordinates where)
Parameters
where
ICoordinatesA ICoordinates describing where to move the mouse to.
MouseMove(ICoordinates, int, int)
Moves the mouse to the specified set of coordinates.
void MouseMove(ICoordinates where, int offsetX, int offsetY)
Parameters
where
ICoordinatesA ICoordinates describing where to click.
offsetX
intA horizontal offset from the coordinates specified in
where
.offsetY
intA vertical offset from the coordinates specified in
where
.
MouseUp(ICoordinates)
Releases the primary mouse button at a set of coordinates.
void MouseUp(ICoordinates where)
Parameters
where
ICoordinatesA ICoordinates describing where to release the mouse button.