语言

LayerDrawable.SetLayerInsetLeft(Int32, Int32) 方法

定义

设置层的左内嵌。

[Android.Runtime.Register("setLayerInsetLeft", "(II)V", "GetSetLayerInsetLeft_IIHandler", ApiSince=23)]
public virtual void SetLayerInsetLeft(int index, int l);
[<Android.Runtime.Register("setLayerInsetLeft", "(II)V", "GetSetLayerInsetLeft_IIHandler", ApiSince=23)>]
abstract member SetLayerInsetLeft : int * int -> unit
override this.SetLayerInsetLeft : int * int -> unit

参数

index
Int32

要调整的层的索引

l
Int32

要从左边界内嵌入的像素数

特性

注解

Java文档android.graphics.drawable.LayerDrawable.setLayerInsetLeft(int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于