Language

GestureOverlayView.GestureStrokeSquarenessTreshold Property

Definition

Gets or sets the stroke squareness threshold used in gesture detection.

public virtual float GestureStrokeSquarenessTreshold { [Android.Runtime.Register("getGestureStrokeSquarenessTreshold", "()F", "GetGetGestureStrokeSquarenessTresholdHandler")] get; [Android.Runtime.Register("setGestureStrokeSquarenessTreshold", "(F)V", "GetSetGestureStrokeSquarenessTreshold_FHandler")] set; }
[<get: Android.Runtime.Register("getGestureStrokeSquarenessTreshold", "()F", "GetGetGestureStrokeSquarenessTresholdHandler")>]
[<set: Android.Runtime.Register("setGestureStrokeSquarenessTreshold", "(F)V", "GetSetGestureStrokeSquarenessTreshold_FHandler")>]
member this.GestureStrokeSquarenessTreshold : single with get, set

Property Value

The dimensionless squareness threshold for a stroke's oriented bounding box. Squareness is the shorter side divided by the longer side. Exceeding this threshold can identify a gesture after the length threshold is exceeded.

Attributes

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to