AnimationSet 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AnimationSet(Boolean) |
用來從程式碼建構 AnimationSet 的建構子 |
| AnimationSet(Context, IAttributeSet) |
當從資源載入 AnimationSet 時所使用的建構器。 |
| AnimationSet(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
AnimationSet(Boolean)
用來從程式碼建構 AnimationSet 的建構子
[Android.Runtime.Register(".ctor", "(Z)V", "")]
public AnimationSet(bool shareInterpolator);
[<Android.Runtime.Register(".ctor", "(Z)V", "")>]
new Android.Views.Animations.AnimationSet : bool -> Android.Views.Animations.AnimationSet
參數
- shareInterpolator
- Boolean
如果這組動畫中的所有動畫都應該使用與此 AnimationSet 相關的插值器,則 Pass True。 如果每個動畫都應該使用自己的插值器,請通過 false。
- 屬性
備註
用來從程式碼建構 AnimationSet 的建構子
Java 文件 android.view.animation.AnimationSet.AnimationSet(boolean)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
AnimationSet(Context, IAttributeSet)
當從資源載入 AnimationSet 時所使用的建構器。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public AnimationSet(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.AnimationSet : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.AnimationSet
參數
- context
- Context
應用上下文
- attrs
- IAttributeSet
讀取數值的屬性集合
- 屬性
備註
當從資源載入 AnimationSet 時所使用的建構器。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
AnimationSet(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected AnimationSet(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.AnimationSet : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.AnimationSet
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。