Bidi.LevelDefaultRtl Field
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.
Paragraph level setting
[Android.Runtime.Register("LEVEL_DEFAULT_RTL", ApiSince=29)]
public const sbyte LevelDefaultRtl = 127;
[<Android.Runtime.Register("LEVEL_DEFAULT_RTL", ApiSince=29)>]
val mutable LevelDefaultRtl : sbyte
Field Value
Value = 127- Attributes
Remarks
Paragraph level setting
Constant indicating that the base direction depends on the first strong directional character in the text according to the Unicode Bidirectional Algorithm. If no strong directional character is present, then set the paragraph level to 1 (right-to-left).
If this value is used in conjunction with reordering modes REORDER_INVERSE_LIKE_DIRECT
or REORDER_INVERSE_FOR_NUMBERS_SPECIAL
, the text to reorder is assumed to be visual LTR, and the text after reordering is required to be the corresponding logical string with appropriate contextual direction. The direction of the result string will be RTL if either the rightmost or leftmost strong character of the source text is RTL or Arabic Letter, or if the text contains no strong character; the direction will be LTR otherwise.
If reordering option OPTION_INSERT_MARKS
is set, an RLM may be added at the beginning of the result string to ensure round trip (that the result string, when reordered back to visual, will produce the original source text).
Java documentation for android.icu.text.Bidi.LEVEL_DEFAULT_RTL
.
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.