BoringLayout.GetParagraphDirection(Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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 override Android.Text.TextLayoutDirection GetParagraphDirection(int line);
[<Android.Runtime.Register("getParagraphDirection", "(I)I", "GetGetParagraphDirection_IHandler")>]
override this.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).
Android reference for android.text.BoringLayout.getParagraphDirection.
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.