Language

PropertyValuesHolder.OfKeyframe Method

Definition

Overloads

Name Description
OfKeyframe(Property, Keyframe[])

Constructs and returns a PropertyValuesHolder object with the specified property and set of values.

OfKeyframe(String, Keyframe[])

Constructs and returns a PropertyValuesHolder object with the specified property and set of values.

OfKeyframe(Property, Keyframe[])

Constructs and returns a PropertyValuesHolder object with the specified property and set of values.

[Android.Runtime.Register("ofKeyframe", "(Landroid/util/Property;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfKeyframe(Android.Util.Property? property, params Android.Animation.Keyframe[]? values);
[<Android.Runtime.Register("ofKeyframe", "(Landroid/util/Property;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfKeyframe : Android.Util.Property * Android.Animation.Keyframe[] -> Android.Animation.PropertyValuesHolder

Parameters

property
Property

The property associated with this set of values. Should not be null.

values
Keyframe[]

The set of values to animate between.

Returns

Attributes

Remarks

Java documentation for android.animation.PropertyValuesHolder.ofKeyframe(android.util.Property, android.animation.Keyframe).

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

OfKeyframe(String, Keyframe[])

Constructs and returns a PropertyValuesHolder object with the specified property and set of values.

[Android.Runtime.Register("ofKeyframe", "(Ljava/lang/String;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")]
public static Android.Animation.PropertyValuesHolder? OfKeyframe(string? propertyName, params Android.Animation.Keyframe[]? values);
[<Android.Runtime.Register("ofKeyframe", "(Ljava/lang/String;[Landroid/animation/Keyframe;)Landroid/animation/PropertyValuesHolder;", "")>]
static member OfKeyframe : string * Android.Animation.Keyframe[] -> Android.Animation.PropertyValuesHolder

Parameters

propertyName
String

The name of the property associated with this set of values. This can be the actual property name to be used when using an ObjectAnimator object, or just a name used to get animated values, such as if this object is used with a ValueAnimator object.

values
Keyframe[]

The set of values to animate between.

Returns

Attributes

Remarks

Java documentation for android.animation.PropertyValuesHolder.ofKeyframe(android.util.Property, android.animation.Keyframe).

Android reference for android.animation.PropertyValuesHolder.ofKeyframe.

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