語言

Layout.GetParagraphDirection(Int32) 方法

定義

回傳包含指定行的段落的主要方向性,左至右線為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 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於