語言

ImageView.SetBaseline(Int32) 方法

定義

設定小工具文字基線與小工具頂邊界的偏移量。

[Android.Runtime.Register("setBaseline", "(I)V", "GetSetBaseline_IHandler")]
public virtual void SetBaseline(int baseline);
[<Android.Runtime.Register("setBaseline", "(I)V", "GetSetBaseline_IHandler")>]
abstract member SetBaseline : int -> unit
override this.SetBaseline : int -> unit

參數

baseline
Int32

使用基準,或 -1 若不提供基準。

屬性

備註

設定小工具文字基線與小工具頂邊界的偏移量。 這個價值會被 #setBaselineAlignBottom(boolean) 財產覆蓋。

Java 文件 android.widget.ImageView.setBaseline(int)。

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

適用於

另請參閱