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
whereICoordinatesAn ICoordinates describing where to click.
ContextClick(ICoordinates)
Clicks at a set of coordinates using the secondary mouse button.
void ContextClick(ICoordinates where)
Parameters
whereICoordinatesA ICoordinates describing where to click.
DoubleClick(ICoordinates)
Double-clicks at a set of coordinates.
void DoubleClick(ICoordinates where)
Parameters
whereICoordinatesA ICoordinates describing where to double-click.
MouseDown(ICoordinates)
Presses the primary mouse button at a set of coordinates.
void MouseDown(ICoordinates where)
Parameters
whereICoordinatesA 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
whereICoordinatesA 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
whereICoordinatesA ICoordinates describing where to click.
offsetXintA horizontal offset from the coordinates specified in
where.offsetYintA 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
whereICoordinatesA ICoordinates describing where to release the mouse button.