Condividi tramite


ValueAnimator.DurationScale Property

Definition

Returns the system-wide scaling factor for Animator-based animations.

public static float DurationScale { [Android.Runtime.Register("getDurationScale", "()F", "", ApiSince=33)] get; }
[<get: Android.Runtime.Register("getDurationScale", "()F", "", ApiSince=33)>]
static member DurationScale : single

Property Value

the duration scale.

Attributes

Remarks

Returns the system-wide scaling factor for Animator-based animations.

This affects both the start delay and duration of all such animations. Setting to 0 will cause animations to end immediately. The default value is 1.0f.

Java documentation for android.animation.ValueAnimator.getDurationScale().

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