StandardScaleGestureDetector

Gesture detector handling scale gesture.

Constructors

Link copied to clipboard
open fun StandardScaleGestureDetector(context: Context, androidGesturesManager: AndroidGesturesManager)

Types

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()
Link copied to clipboard
open fun setSpanSinceStartThresholdResource(@DimenRes spanSinceStartThresholdDimen: Int)
Set the threshold span in dp between initial fingers position and current needed for this detector to qualify it as a scale gesture.
Link copied to clipboard
open fun setSpanThresholdResource(spanThresholdDimen: Int)

Properties

Link copied to clipboard
Link copied to clipboard
open val currentSpan: Float
Link copied to clipboard
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
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val scaleFactor: Float
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open val startSpan: Float
Link copied to clipboard
open val startSpanX: Float
Link copied to clipboard
open val startSpanY: Float