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())。 如果指定的行等于行计数,则返回最后一行的底部。

适用于 . 的 android.text.Layout.getLineTop(int)Java 文档

本页的某些部分是根据 Android 开放源代码项目创建和共享的工作进行的修改,并根据 Creative Commons 2.5 属性许可证中所述的术语使用。

适用于