语言

Layout.GetLineAscent(Int32) 方法

定义

获取指定行上的文本的升值。

[Android.Runtime.Register("getLineAscent", "(I)I", "")]
public int GetLineAscent(int line);
[<Android.Runtime.Register("getLineAscent", "(I)I", "")>]
member this.GetLineAscent : int -> int

参数

line
Int32

返回

特性

注解

获取指定行上的文本的升值。 返回值为负值以匹配 Paint.ascent() 约定。

Java文档android.text.Layout.getLineAscent(int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于