語言

LayerDrawable.BottomPadding 屬性

定義

回傳底部填充物(像素單位)。

public virtual int BottomPadding { [Android.Runtime.Register("getBottomPadding", "()I", "GetGetBottomPaddingHandler", ApiSince=23)] get; }
[<get: Android.Runtime.Register("getBottomPadding", "()I", "GetGetBottomPaddingHandler", ApiSince=23)>]
member this.BottomPadding : int

屬性值

底部填充(像素數)或 -1(若未明確指定則為

屬性

備註

回傳底部填充物(像素單位)。

回傳值 -1 表示此維度沒有明確的填充設定。 因此,根據填充模式,從子層中計算出 #getPadding(Rect) 此維度的值(參見 #getPaddingMode()。

Java 文件 android.graphics.drawable.LayerDrawable.getBottomPadding()。

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

適用於