語言

PropertyValuesHolder.OfKeyframe 方法

定義

多載

名稱 Description
OfKeyframe(Property, Keyframe[])

建構並回傳一個具有指定屬性與值集合的 PropertyValuesHolder 物件。

OfKeyframe(String, Keyframe[])

建構並回傳一個具有指定屬性與值集合的 PropertyValuesHolder 物件。

OfKeyframe(Property, Keyframe[])

建構並回傳一個具有指定屬性與值集合的 PropertyValuesHolder 物件。

[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

參數

property
Property

與這組值相關的性質。 不應該是無效的。

values
Keyframe[]

要在這些數值之間移動的集合。

傳回

屬性

備註

Java 文件 android.animation.PropertyValuesHolder.ofKeyframe(android.util.Property, android.animation.Keyframe)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於

OfKeyframe(String, Keyframe[])

建構並回傳一個具有指定屬性與值集合的 PropertyValuesHolder 物件。

[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

參數

propertyName
String

與這組數值相關的屬性名稱。 這可以是實際使用 ObjectAnimator 物件時要使用的屬性名稱,或僅是用來取得動畫值的名稱,例如這個物件與 ValueAnimator 物件一起使用。

values
Keyframe[]

要在這些數值之間移動的集合。

傳回

屬性

備註

Java 文件 android.animation.PropertyValuesHolder.ofKeyframe(android.util.Property, android.animation.Keyframe)。

Android 參考資料。android.animation.PropertyValuesHolder.ofKeyframe

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於