Język

StaticLayout.GetLineDirections(Int32) Method

Definition

Returns the directional run information for the specified line.

[Android.Runtime.Register("getLineDirections", "(I)Landroid/text/Layout$Directions;", "")]
public override sealed Android.Text.Layout.Directions? GetLineDirections(int line);
[<Android.Runtime.Register("getLineDirections", "(I)Landroid/text/Layout$Directions;", "")>]
override this.GetLineDirections : int -> Android.Text.Layout.Directions

Parameters

line
Int32

Returns

Attributes

Remarks

Returns the directional run information for the specified line. The array alternates counts of characters in left-to-right and right-to-left segments of the line.

NOTE: this is inadequate to support bidirectional text, and will change.

Android reference for android.text.StaticLayout.getLineDirections.

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