語言

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)。

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

適用於