Constructors
Properties
Duration
#Gets the timespan that has passed between the oldest and youngest recorded frames. This is not the same as the time that has passed since recording began.
MaximumDuration
#Gets or sets the maximum allowed duration of the entire record. When new frames are recorded, old frames that are more distant than MaximumDuration will be dropped. The default duration is 10 seconds.
MaximumFrameCount
#Gets or sets the maximum number of frames to keep in history. If more frames are added, the oldest ones will be dropped. The default is 16,384 frames.
Indexers
Methods
Deviation
#Gets the maximum deviation of the recorded mouse path. The maximum deviation is the furthest distance the mouse has been from the first point in the history record.
Deviation
#Gets the maximum deviation of the recorded mouse path. The maximum deviation is the furthest distance the mouse has been from the first point in the history span. It does not measure the largest deviation between any two points in the time span, only the first and any subsequent point.
DropFrames
#Drop all frames older than a given limit.
Parameters:
| timeLimit (DateTime) | All frames older than the limit will be dropped. |
DropFrames
#Find the youngest frame that deviates too much from the given locus and drop it and everything preceding it.
DropFrames
#Find the youngest frame that deviates too much from the current locus and drop it and everything preceding it.
Parameters:
| deviation (double) | Local deviation. |
LastFrameWithinDeviation
#Starting from the youngest frame, finds the oldest frame that is still within a maximum deviation of the youngest frame.
Parameters:
| deviation (double) | Maximum allowed deviation. |
Returns: The index of the oldest frame with a distance less than the deviation from the youngest frame, or -1 if no such frame could be found.
Record
#Record a new mouse event frame. If this frame is closer than [Accuracy]ms to the previously recorded frame, it is not included.