Freigeben über


AndroidCharacter.GetEastAsianWidths(Char[], Int32, Int32, Byte[]) Method

Definition

Fill the first count bytes of dest with the East Asian Width from count chars of src starting at start.

[Android.Runtime.Register("getEastAsianWidths", "([CII[B)V", "")]
public static void GetEastAsianWidths (char[]? src, int start, int count, byte[]? dest);
[<Android.Runtime.Register("getEastAsianWidths", "([CII[B)V", "")>]
static member GetEastAsianWidths : char[] * int * int * byte[] -> unit

Parameters

src
Char[]

character array of input to measure

start
Int32

first character in array to measure

count
Int32

maximum number of characters to measure

dest
Byte[]

byte array of results for each character in src

Attributes

Remarks

Fill the first count bytes of dest with the East Asian Width from count chars of src starting at start. East Asian Width is calculated based on Unicode TR#11. Each entry in dest 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.getEastAsianWidths(char[], int, int, byte[]).

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