Constructor MouseInput
MouseInput(Point?)
Constructs a new instance of the MouseInput struct with a specified position and zero delay.
Declaration
public MouseInput(Point? position)
Parameters
| Type | Name | Description |
|---|---|---|
| Point? | position | The position of the mouse on the screen. This is null if the position is not relevant. |
MouseInput(TimeSpan)
Constructs a new instance of the MouseInput struct with a specified delay and no defined position.
Declaration
public MouseInput(TimeSpan delay)
Parameters
| Type | Name | Description |
|---|---|---|
| TimeSpan | delay | The delay for the mouse action. |
MouseInput(Point?, TimeSpan)
Constructs a new instance of the MouseInput struct with a specified position and delay.
Declaration
public MouseInput(Point? position, TimeSpan delay)
Parameters
| Type | Name | Description |
|---|---|---|
| Point? | position | The position of the mouse on the screen. This is null if the position is not relevant. |
| TimeSpan | delay | The delay for the mouse action. |