語言

Layout.GetLineTop(Int32) 方法

定義

回傳指定直線頂端的垂直位置 (0…getLineCount())。

[Android.Runtime.Register("getLineTop", "(I)I", "GetGetLineTop_IHandler")]
public abstract int GetLineTop(int line);
[<Android.Runtime.Register("getLineTop", "(I)I", "GetGetLineTop_IHandler")>]
abstract member GetLineTop : int -> int

參數

line
Int32

傳回

屬性

備註

回傳指定直線頂端的垂直位置 (0…getLineCount())。 若指定行數等於行數,則回傳最後一行的底部。

Java 文件 android.text.Layout.getLineTop(int)。

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

適用於