語言

View.SetFadingEdgeLength(Int32) 方法

定義

設定淡出邊緣的大小,表示此檢視中有更多內容可用。

[Android.Runtime.Register("setFadingEdgeLength", "(I)V", "GetSetFadingEdgeLength_IHandler")]
public virtual void SetFadingEdgeLength(int length);
[<Android.Runtime.Register("setFadingEdgeLength", "(I)V", "GetSetFadingEdgeLength_IHandler")>]
abstract member SetFadingEdgeLength : int -> unit
override this.SetFadingEdgeLength : int -> unit

參數

length
Int32

淡出邊緣的像素大小用來表示此視圖中可見更多內容。

屬性

備註

設定淡出邊緣的大小,表示此檢視中有更多內容可用。 不會改變是否啟用漸入邊緣;使用 #setVerticalFadingEdgeEnabled(boolean) 或 #setHorizontalFadingEdgeEnabled(boolean) 啟用垂直或水平漸入邊緣的漸入淡出邊緣。

Java 文件 android.view.View.setFadingEdgeLength(int)。

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

適用於