AndroidCharacter.GetEastAsianWidth(Char) Method
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.
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.