Sdílet prostřednictvím


UCharacter.GetDirection(Int32) Method

Definition

<strong>[icu]</strong> Returns the Bidirection property of a code point.

[Android.Runtime.Register("getDirection", "(I)I", "", ApiSince=24)]
public static int GetDirection (int ch);
[<Android.Runtime.Register("getDirection", "(I)I", "", ApiSince=24)>]
static member GetDirection : int -> int

Parameters

ch
Int32

the code point to be determined its direction

Returns

direction constant from UCharacterDirection.

Attributes

Remarks

<strong>[icu]</strong> Returns the Bidirection property of a code point. For example, 0x0041 (letter A) has the LEFT_TO_RIGHT directional property.<br> Result returned belongs to the interface UCharacterDirection

Java documentation for android.icu.lang.UCharacter.getDirection(int).

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