Freigeben über


ScaleGestureDetector.ScaleFactor Property

Definition

Return the scaling factor from the previous scale event to the current event.

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

Property Value

The current scaling factor.

Attributes

Remarks

Return the scaling factor from the previous scale event to the current event. This value is defined as (#getCurrentSpan() / #getPreviousSpan()).

Java documentation for android.view.ScaleGestureDetector.getScaleFactor().

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