語言

LayerDrawable.SetLayerInsetRelative(Int32, Int32, Int32, Int32, Int32) 方法

定義

指定在指定索引處可繪製物件的相對像素內嵌。

[Android.Runtime.Register("setLayerInsetRelative", "(IIIII)V", "GetSetLayerInsetRelative_IIIIIHandler", ApiSince=23)]
public virtual void SetLayerInsetRelative(int index, int s, int t, int e, int b);
[<Android.Runtime.Register("setLayerInsetRelative", "(IIIII)V", "GetSetLayerInsetRelative_IIIIIHandler", ApiSince=23)>]
abstract member SetLayerInsetRelative : int * int * int * int * int -> unit
override this.SetLayerInsetRelative : int * int * int * int * int -> unit

參數

index
Int32

調整時,該層的索引

s
Int32

從起始界定開始要插入的像素數

t
Int32

從頂界開始要插入的像素數

e
Int32

從端界開始要嵌入的像素數

b
Int32

從底界開始要插入的像素數

屬性

備註

指定在指定索引處可繪製物件的相對像素內嵌。

Java 文件 android.graphics.drawable.LayerDrawable.setLayerInsetRelative(int, int, int, int, int)。

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

適用於