Animation.ScaleFactor Property

Definition

The scale factor is set by the call to getTransformation.

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

Property Value

float The scale factor that should be applied to pre-scaled values in an Animation such as the pivot points in ScaleAnimation and RotateAnimation.

Attributes

Remarks

The scale factor is set by the call to getTransformation. Overrides of #getTransformation(long, Transformation, float) will get this value directly. Overrides of #applyTransformation(float, Transformation) can call this method to get the value.

Java documentation for android.view.animation.Animation.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