Share via


Gesture.Length Property

Definition

Calculates the total length of the gesture.

public virtual float Length { [Android.Runtime.Register("getLength", "()F", "GetGetLengthHandler")] get; }
[<get: Android.Runtime.Register("getLength", "()F", "GetGetLengthHandler")>]
member this.Length : single

Property Value

the length of the gesture

Attributes

Remarks

Calculates the total length of the gesture. When there are multiple strokes in the gesture, this returns the sum of the lengths of all the strokes.

Java documentation for android.gesture.Gesture.getLength().

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