TextAttribute.NumericShaping Property

Definition

Attribute key for converting ASCII decimal digits to other decimal ranges.

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

Property Value

Attributes

Remarks

Attribute key for converting ASCII decimal digits to other decimal ranges. Values are instances of NumericShaper. The default is null, which means do not perform numeric shaping.

When a numeric shaper is defined, the text is first processed by the shaper before any other analysis of the text is performed.

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

Added in 1.4.

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

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