Compartilhar via


PropertyValuesHolder.OfKeyframe Method

Definition

Overloads

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
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