LayerDrawable.SetLayerInsetTop(Int32, Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
設定了一層的頂層凹槽。
[Android.Runtime.Register("setLayerInsetTop", "(II)V", "GetSetLayerInsetTop_IIHandler", ApiSince=23)]
public virtual void SetLayerInsetTop(int index, int t);
[<Android.Runtime.Register("setLayerInsetTop", "(II)V", "GetSetLayerInsetTop_IIHandler", ApiSince=23)>]
abstract member SetLayerInsetTop : int * int -> unit
override this.SetLayerInsetTop : int * int -> unit
參數
- index
- Int32
調整時,該層的索引
- t
- Int32
從頂界開始要插入的像素數
- 屬性
備註
Java 文件 android.graphics.drawable.LayerDrawable.setLayerInsetTop(int, int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。