語言

LayerDrawable.SetLayerHeight(Int32, Int32) 方法

定義

[Android.Runtime.Register("setLayerHeight", "(II)V", "GetSetLayerHeight_IIHandler", ApiSince=23)]
public virtual void SetLayerHeight(int index, int h);
[<Android.Runtime.Register("setLayerHeight", "(II)V", "GetSetLayerHeight_IIHandler", ApiSince=23)>]
abstract member SetLayerHeight : int * int -> unit
override this.SetLayerHeight : int * int -> unit

參數

index
Int32

調整時,該層的索引

h
Int32

高度以像素為單位,或 -1,使用內在高度

屬性

備註

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

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

適用於