Layout.GetParagraphDirection(Int32) Method

Definition

Returns the primary directionality of the paragraph containing the specified line, either 1 for left-to-right lines, or -1 for right-to-left lines (see #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

Parameters

line
Int32

Returns

Attributes

Remarks

Returns the primary directionality of the paragraph containing the specified line, either 1 for left-to-right lines, or -1 for right-to-left lines (see #DIR_LEFT_TO_RIGHT, #DIR_RIGHT_TO_LEFT).

Java documentation for android.text.Layout.getParagraphDirection(int).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to