Language

BoringLayout.GetLineStart(Int32) Method

Definition

Return the text offset of the beginning of the specified line ( 0…getLineCount()).

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

Parameters

line
Int32

Zero for the text line, or one for the end-of-text sentinel.

Returns

Zero for the text line, or the text length for the sentinel.

Attributes

Remarks

Return the text offset of the beginning of the specified line ( 0…getLineCount()). If the specified line is equal to the line count, returns the length of the text.

Android reference for android.text.BoringLayout.getLineStart.

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to