Condividi tramite


TextAttribute.BidiEmbedding Property

Definition

Attribute key for the embedding level of the text.

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

Property Value

Attributes

Remarks

Attribute key for the embedding level of the text. Values are instances of <b>Integer</b>. The default value is null, indicating that the the Bidirectional algorithm should run without explicit embeddings.

Positive values 1 through 61 are <em>embedding</em> levels, negative values -1 through -61 are <em>override</em> levels. The value 0 means that the base line direction is used. These levels are passed in the embedding levels array to the java.text.Bidi constructor.

<em>Note:</em> When this attribute is present anywhere in a paragraph, then any Unicode bidi control characters (RLO, LRO, RLE, LRE, and PDF) in the paragraph are disregarded, and runs of text where this attribute is not present are treated as though it were present and had the value 0.

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

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