語言

LayerDrawable.SetLayerInsetTop(Int32, Int32) 方法

定義

設定了一層的頂層凹槽。

[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於