다음을 통해 공유


TextAttribute.RunDirection Property

Definition

Attribute key for the run direction of the line.

[Android.Runtime.Register("RUN_DIRECTION")]
public static Java.Awt.Font.TextAttribute? RunDirection { get; }
[<Android.Runtime.Register("RUN_DIRECTION")>]
static member RunDirection : Java.Awt.Font.TextAttribute

Property Value

Attributes

Remarks

Attribute key for the run direction of the line. Values are instances of <b>Boolean</b>. The default value is null, which indicates that the standard Bidi algorithm for determining run direction should be used with the value java.text.Bidi#DIRECTION_DEFAULT_LEFT_TO_RIGHT.

The constants #RUN_DIRECTION_RTL and #RUN_DIRECTION_LTR are provided.

This determines the value passed to the java.text.Bidi constructor to select the primary direction of the text in the paragraph.

<em>Note:</em> This attribute should have the same value for all the text in a paragraph, otherwise the behavior is undetermined.

Java documentation for java.awt.font.TextAttribute.RUN_DIRECTION.

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