Class DragComputerAction
A drag action.
public sealed class DragComputerAction : IComputerAction
- Inheritance
-
DragComputerAction
- Implements
- Inherited Members
Constructors
DragComputerAction()
public DragComputerAction()
DragComputerAction(IEnumerable<Coordinate>)
public DragComputerAction(IEnumerable<Coordinate> path)
Parameters
path
IEnumerable<Coordinate>
Properties
Path
An array of coordinates representing the path of the drag action. A series of x/y coordinate pairs in the drag path.
[JsonInclude]
[JsonPropertyName("path")]
public IReadOnlyList<Coordinate> Path { get; }
Property Value
Type
Specifies the event type. For a drag action, this property is always set to drag
.
[JsonInclude]
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
[JsonPropertyName("type")]
public ComputerActionType Type { get; }