PropertyValuesHolder.OfKeyframe Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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
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.