Layout.GetParagraphDirection(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回包含指定行的段落的主要方向,对于从左到右的行为 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)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。