ZennoLab Assemblies Documentation
TouchEmulationParameters Class Members
Fields 


ZennoLab.CommandCenter.TouchEvents Namespace : TouchEmulationParameters Class

The following tables list the members exposed by TouchEmulationParameters.

Public Constructors
 NameDescription
Public Constructor  
Top
Public Fields
 NameDescription
Public Field Acceleration for the speed of swipe. Acceptable range: [1, 2].  
Public Field Maximum curvature of swipes. Acceptable range: [0, 1]. Must be greater than or equal to MinCurvature. Actual curvature of each swipe will be a random number between MinCurvature and MaxCurvature  
Public Field Second boundary for curve peak of swipe. Acceptable range: [0, 1]. Must be greater than or equal to MinCurvePeakShift. Actual peak shift for each swipe will be a random number between MinCurvePeakShift and MaxCurvePeakShift Actual peak shift works as follows: 0 means that peak will be near starting point; 1 means that peak will be near ending point; 0.5f means that peak will be directly in the middle of starting and ending points;  
Public Field Minimum distance for steps while following Bezier curve. Acceptable range: [1, 60]. Must be greater than or equal to MinStep. Distance of steps is directly proportional to the speed of swipes. Actual distance for steps of each swipe will start at MinStep. It will get multiplied by Acceleration each step, but will not exceed MaxStep  
Public Field Minimum curvature of swipes. Acceptable range: [0, 1]. Must be less than or equal to MaxCurvature. Actual curvature of each swipe will be a random number between MinCurvature and MaxCurvature  
Public Field First boundary for curve peak of swipe. Acceptable range: [0, 1]. Must be less than or equal to MaxCurvePeakShift. Actual peak shift for each swipe will be a random number between MinCurvePeakShift and MaxCurvePeakShift Actual peak shift works as follows: 0 means that peak will be near starting point; 1 means that peak will be near ending point; 0.5f means that peak will be directly in the middle of starting and ending points;  
Public Field Minimum distance for steps while following Bezier curve. Acceptable range: [1, 60]. Must be less than or equal to MaxStep. Distance of steps is directly proportional to the speed of swipes. Actual distance for steps of each swipe will start at MinStep. It will get multiplied by Acceleration each step, but will not exceed MaxStep  
Public Field Pause between steps while following Bezier curve in milliseconds. Acceptable range: [1, 200]. Should correspond to the refresh rate of a touch-screen of an emulated device. Value is inversely proportional to the speed of swipes.  
Public Field Pause at the end of each swipe in milliseconds. Acceptable range: [200, 2000].  
Public Field Fraction of HtmlElement's height that is used when generating touch-event. Acceptable range: [0, 1]  
Public Field Fraction of HtmlElement's width that is used when generating touch-event. Acceptable range: [0, 1]  
Public Field Probability that the curve will look like it was created by right thumb (and not the left one). Acceptable range: [0, 1]  
Public Field Fraction of a screen width that is used for randomizing starting and final positions for swipe-scrolls. Acceptable range: [0, 0.2]  
Public Field Fraction of a screen height that is used for randomizing starting and final positions for swipe-scrolls. Acceptable range: [0, 0.2]  
Public Field Fraction of a screen width that is used for swipe-scrolls. Acceptable range: [0.2, 0.8].  
Public Field Fraction of a screen height that is used for swipe-scrolls. Acceptable range: [0.2, 0.8].  
Top
See Also

Reference

TouchEmulationParameters Class
ZennoLab.CommandCenter.TouchEvents Namespace