語言

Layout.GetLineStart(Int32) 方法

定義

回傳指定行開頭的文字偏移量 (0…getLineCount())。

[Android.Runtime.Register("getLineStart", "(I)I", "GetGetLineStart_IHandler")]
public abstract int GetLineStart(int line);
[<Android.Runtime.Register("getLineStart", "(I)I", "GetGetLineStart_IHandler")>]
abstract member GetLineStart : int -> int

參數

line
Int32

傳回

屬性

備註

回傳指定行開頭的文字偏移量 (0…getLineCount())。 若指定的行數等於行數,則回傳文字長度。

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

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

適用於