LayerDrawable.GetLayerWidth(Int32) Método

Definição

[Android.Runtime.Register("getLayerWidth", "(I)I", "GetGetLayerWidth_IHandler", ApiSince=23)]
public virtual int GetLayerWidth(int index);
[<Android.Runtime.Register("getLayerWidth", "(I)I", "GetGetLayerWidth_IHandler", ApiSince=23)>]
abstract member GetLayerWidth : int -> int
override this.GetLayerWidth : int -> int

Parâmetros

index
Int32

o índice do desenhável a ser ajustado

Retornos

a largura explícita da camada ou -1 se não for especificado

Atributos

Comentários

Java documentação para android.graphics.drawable.LayerDrawable.getLayerWidth(int).

Partes desta página são modificações baseadas no trabalho criado e compartilhado pelo Project Open Source do Open Source e usadas de acordo com os termos descritos na Creative Commons 2.5.

Aplica-se a