Compartir a través de


Animation.ApplyTransformation(Single, Transformation) Method

Definition

Helper for getTransformation.

[Android.Runtime.Register("applyTransformation", "(FLandroid/view/animation/Transformation;)V", "GetApplyTransformation_FLandroid_view_animation_Transformation_Handler")]
protected virtual void ApplyTransformation (float interpolatedTime, Android.Views.Animations.Transformation? t);
[<Android.Runtime.Register("applyTransformation", "(FLandroid/view/animation/Transformation;)V", "GetApplyTransformation_FLandroid_view_animation_Transformation_Handler")>]
abstract member ApplyTransformation : single * Android.Views.Animations.Transformation -> unit
override this.ApplyTransformation : single * Android.Views.Animations.Transformation -> unit

Parameters

interpolatedTime
Single

The value of the normalized time (0.0 to 1.0) after it has been run through the interpolation function.

t
Transformation

The Transformation object to fill in with the current transforms.

Attributes

Remarks

Helper for getTransformation. Subclasses should implement this to apply their transforms given an interpolation value. Implementations of this method should always replace the specified Transformation or document they are doing otherwise.

Java documentation for android.view.animation.Animation.applyTransformation(float, android.view.animation.Transformation).

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