Moves the mouse to the specified offset of the last known mouse coordinates. The horizontal offset to which to move the mouse. The vertical offset to which to move the mouse. A self-reference to this .
(int offsetX, int offsetY)
| 443 | /// <param name="offsetY">The vertical offset to which to move the mouse.</param> |
| 444 | /// <returns>A self-reference to this <see cref="Actions"/>.</returns> |
| 445 | public Actions MoveByOffset(int offsetX, int offsetY) |
| 446 | { |
| 447 | this.actionBuilder.AddAction(this.GetActivePointer().CreatePointerMove(CoordinateOrigin.Pointer, offsetX, offsetY, duration)); |
| 448 | return this; |
| 449 | } |
| 450 | |
| 451 | /// <summary> |
| 452 | /// Moves the mouse from the upper left corner of the current viewport by the provided offset. |