Udostępnij za pośrednictwem


Keyframe.Fraction Property

Definition

Gets the time for this keyframe, as a fraction of the overall animation duration. -or- Sets the time for this keyframe, as a fraction of the overall animation duration.

public virtual float Fraction { [Android.Runtime.Register("getFraction", "()F", "GetGetFractionHandler")] get; [Android.Runtime.Register("setFraction", "(F)V", "GetSetFraction_FHandler")] set; }
[<get: Android.Runtime.Register("getFraction", "()F", "GetGetFractionHandler")>]
[<set: Android.Runtime.Register("setFraction", "(F)V", "GetSetFraction_FHandler")>]
member this.Fraction : single with get, set

Property Value

The time associated with this keyframe, as a fraction of the overall animation duration. This should be a value between 0 and 1.

Attributes

Remarks

Property getter documentation:

Gets the time for this keyframe, as a fraction of the overall animation duration.

Java documentation for android.animation.Keyframe.getFraction().

Property setter documentation:

Sets the time for this keyframe, as a fraction of the overall animation duration.

Java documentation for android.animation.Keyframe.setFraction(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