Layout.GetLineAscent(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
取得指定行文字的上升趨勢。
[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 所創建與分享的作品,並依授權條款所描述的使用進行修改。