Freigeben über


AndroidCharacter.GetEastAsianWidth(Char) Method

Definition

Calculate the East Asian Width of a character according to Unicode TR#11.

[Android.Runtime.Register("getEastAsianWidth", "(C)I", "")]
public static int GetEastAsianWidth (char input);
[<Android.Runtime.Register("getEastAsianWidth", "(C)I", "")>]
static member GetEastAsianWidth : char -> int

Parameters

input
Char

the character to measure

Returns

the East Asian Width for input

Attributes

Remarks

Calculate the East Asian Width of a character according to Unicode TR#11. The return will be one of #EAST_ASIAN_WIDTH_NEUTRAL, #EAST_ASIAN_WIDTH_AMBIGUOUS, #EAST_ASIAN_WIDTH_HALF_WIDTH, #EAST_ASIAN_WIDTH_FULL_WIDTH, #EAST_ASIAN_WIDTH_NARROW, or #EAST_ASIAN_WIDTH_WIDE.

Java documentation for android.text.AndroidCharacter.getEastAsianWidth(char).

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