Layout.GetLineTop(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Return the vertical position of the top of the specified line (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
Parameters
- line
- Int32
Returns
- Attributes
Remarks
Return the vertical position of the top of the specified line (0…getLineCount()). If the specified line is equal to the line count, returns the bottom of the last line.
Java documentation for android.text.Layout.getLineTop(int)
.
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.