AlphaAnimation 建構函式
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| AlphaAnimation(Context, IAttributeSet) |
當從資源載入 AlphaAnimation 時所使用的建構子。 |
| AlphaAnimation(IntPtr, JniHandleOwnership) |
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。 |
| AlphaAnimation(Single, Single) |
用於從程式碼建立 AlphaAnimation 的建構器 |
AlphaAnimation(Context, IAttributeSet)
當從資源載入 AlphaAnimation 時所使用的建構子。
[Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")]
public AlphaAnimation(Android.Content.Context? context, Android.Util.IAttributeSet? attrs);
[<Android.Runtime.Register(".ctor", "(Landroid/content/Context;Landroid/util/AttributeSet;)V", "")>]
new Android.Views.Animations.AlphaAnimation : Android.Content.Context * Android.Util.IAttributeSet -> Android.Views.Animations.AlphaAnimation
參數
- context
- Context
應用上下文
- attrs
- IAttributeSet
讀取數值的屬性集合
- 屬性
備註
當從資源載入 AlphaAnimation 時所使用的建構子。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
AlphaAnimation(IntPtr, JniHandleOwnership)
建立 JNI 物件的 Managed 表示法時使用的建構函式;由運行時間呼叫。
protected AlphaAnimation(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.Animations.AlphaAnimation : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.Animations.AlphaAnimation
參數
- transfer
- JniHandleOwnership
JniHandleOwnershipA 指示如何處理javaReference
備註
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。
適用於
AlphaAnimation(Single, Single)
用於從程式碼建立 AlphaAnimation 的建構器
[Android.Runtime.Register(".ctor", "(FF)V", "")]
public AlphaAnimation(float fromAlpha, float toAlpha);
[<Android.Runtime.Register(".ctor", "(FF)V", "")>]
new Android.Views.Animations.AlphaAnimation : single * single -> Android.Views.Animations.AlphaAnimation
參數
- fromAlpha
- Single
動畫的起始 alpha 值,1.0 代表完全不透明,0.0 代表完全透明。
- toAlpha
- Single
動畫的 Alpha 值結束。
- 屬性
備註
用於從程式碼建立 AlphaAnimation 的建構器
Java 文件 android.view.animation.AlphaAnimation.AlphaAnimation(float, float)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。