ProgressiveGesture

Base class for all progressive gesture detectors.

Parameters

<L>

listener that will be called with gesture events/updates.

Constructors

Link copied to clipboard
open fun ProgressiveGesture(context: Context, gesturesManager: AndroidGesturesManager)

Functions

Link copied to clipboard
open fun getCurrentSpan(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getCurrentSpanX(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getCurrentSpanY(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPointersCount(): Int
Link copied to clipboard
open fun getPreviousSpan(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPreviousSpanX(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun getPreviousSpanY(firstPointerIndex: Int, secondPointerIndex: Int): Float
Link copied to clipboard
open fun interrupt()
Interrupt a gesture by stopping it's execution immediately.
Link copied to clipboard
open fun setEnabled(enabled: Boolean)
Link copied to clipboard
open fun setSpanThresholdResource(spanThresholdDimen: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open val focalPoint: PointF
Link copied to clipboard
Link copied to clipboard
open var isEnabled: Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard