语言

Layout.GetParagraphDirection(Int32) 方法

定义

返回包含指定行的段落的主要方向,对于从左到右的行为 1,或为从右到左的行 -1(见,#DIR_RIGHT_TO_LEFT)。#DIR_LEFT_TO_RIGHT

[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_RIGHT_TO_LEFT)。#DIR_LEFT_TO_RIGHT

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

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

适用于