Layout.GetParagraphDirection(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
回傳包含指定行的段落的主要方向性,左至右線為1,右至左線為 -1(參見 #DIR_LEFT_TO_RIGHT, #DIR_RIGHT_TO_LEFT)。
[Android.Runtime.Register("getParagraphDirection", "(I)I", "GetGetParagraphDirection_IHandler")]
public abstract Android.Text.TextLayoutDirection GetParagraphDirection(int line);
[<Android.Runtime.Register("getParagraphDirection", "(I)I", "GetGetParagraphDirection_IHandler")>]
abstract member GetParagraphDirection : int -> Android.Text.TextLayoutDirection
參數
- line
- Int32
傳回
- 屬性
備註
回傳包含指定行的段落的主要方向性,左至右線為1,右至左線為 -1(參見 #DIR_LEFT_TO_RIGHT, #DIR_RIGHT_TO_LEFT)。
Java 文件 android.text.Layout.getParagraphDirection(int)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。