Udostępnij za pośrednictwem


Animation.GetTransformation Method

Definition

Overloads

GetTransformation(Int64, Transformation)

Gets the transformation to apply at a specified point in time.

GetTransformation(Int64, Transformation, Single)

Gets the transformation to apply at a specified point in time.

GetTransformation(Int64, Transformation)

Gets the transformation to apply at a specified point in time.

[Android.Runtime.Register("getTransformation", "(JLandroid/view/animation/Transformation;)Z", "GetGetTransformation_JLandroid_view_animation_Transformation_Handler")]
public virtual bool GetTransformation (long currentTime, Android.Views.Animations.Transformation? outTransformation);
[<Android.Runtime.Register("getTransformation", "(JLandroid/view/animation/Transformation;)Z", "GetGetTransformation_JLandroid_view_animation_Transformation_Handler")>]
abstract member GetTransformation : int64 * Android.Views.Animations.Transformation -> bool
override this.GetTransformation : int64 * Android.Views.Animations.Transformation -> bool

Parameters

currentTime
Int64

Where we are in the animation. This is wall clock time.

outTransformation
Transformation

A transformation object that is provided by the caller and will be filled in by the animation.

Returns

True if the animation is still running

Attributes

Remarks

Gets the transformation to apply at a specified point in time. Implementations of this method should always replace the specified Transformation or document they are doing otherwise.

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

GetTransformation(Int64, Transformation, Single)

Gets the transformation to apply at a specified point in time.

[Android.Runtime.Register("getTransformation", "(JLandroid/view/animation/Transformation;F)Z", "GetGetTransformation_JLandroid_view_animation_Transformation_FHandler")]
public virtual bool GetTransformation (long currentTime, Android.Views.Animations.Transformation? outTransformation, float scale);
[<Android.Runtime.Register("getTransformation", "(JLandroid/view/animation/Transformation;F)Z", "GetGetTransformation_JLandroid_view_animation_Transformation_FHandler")>]
abstract member GetTransformation : int64 * Android.Views.Animations.Transformation * single -> bool
override this.GetTransformation : int64 * Android.Views.Animations.Transformation * single -> bool

Parameters

currentTime
Int64

Where we are in the animation. This is wall clock time.

outTransformation
Transformation

A transformation object that is provided by the caller and will be filled in by the animation.

scale
Single

Scaling factor to apply to any inputs to the transform operation, such pivot points being rotated or scaled around.

Returns

True if the animation is still running

Attributes

Remarks

Gets the transformation to apply at a specified point in time. Implementations of this method should always replace the specified Transformation or document they are doing otherwise.

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

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