Click or drag to resize

SwipeGestureRecognizerDirectionThreshold Property

For set directions, this is the amount that the swipe must be proportionally in that direction vs the other direction. For example, a swipe down gesture will need to move in the y axis by this multiplier more versus moving along the x axis. Default is 1.5, which means the swipe down gesture needs to be 1.5 times greater in the y axis vs. the x axis. Less than or equal to 1 means any ratio is acceptable.

Namespace:  DigitalRubyShared
Assembly:  Assembly-CSharp (in Assembly-CSharp.dll) Version: 0.0.0.0
Syntax
C#
public float DirectionThreshold { get; set; }

Property Value

Type: Single
The direction threshold.
See Also