語言

Animation.BackgroundColor 屬性

定義

回傳動畫背後的背景色。 -或者- 把背景放在動畫後面。

public virtual int BackgroundColor { [Android.Runtime.Register("getBackgroundColor", "()I", "GetGetBackgroundColorHandler")] get; [Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")] set; }
[<get: Android.Runtime.Register("getBackgroundColor", "()I", "GetGetBackgroundColorHandler")>]
[<set: Android.Runtime.Register("setBackgroundColor", "(I)V", "GetSetBackgroundColor_IHandler")>]
member this.BackgroundColor : int with get, set

屬性值

動畫背後的背景色。 值為 0 表示沒有背景;否則,顏色必須是目前的黑色,且具有任意的α階。

屬性

備註

財產取得者文件:

回傳動畫背後的背景色。

此會員已被棄用。 視窗動畫都沒有背景色在運行。

Java 文件 android.view.animation.Animation.getBackgroundColor()。

屬性設定文件:

動畫背後設定背景。

此會員已被棄用。 視窗動畫都沒有背景色在運行。

Java 文件 android.view.animation.Animation.setBackgroundColor(int)。

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

適用於