语言

ITextDirectionHeuristic.IsRtl 方法

定义

重载

名称 说明
IsRtl(ICharSequence, Int32, Int32)

猜测 a CharSequence 是否在 RTL 方向。

IsRtl(Char[], Int32, Int32)

猜测字符数组是否在 RTL 方向。

IsRtl(ICharSequence, Int32, Int32)

猜测 a CharSequence 是否在 RTL 方向。

[Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;II)Z", "GetIsRtl_Ljava_lang_CharSequence_IIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsRtl(Java.Lang.ICharSequence? cs, int start, int count);
[<Android.Runtime.Register("isRtl", "(Ljava/lang/CharSequence;II)Z", "GetIsRtl_Ljava_lang_CharSequence_IIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsRtl : Java.Lang.ICharSequence * int * int -> bool

参数

cs
ICharSequence

CharSequence。

start
Int32

start index, inclusive.

count
Int32

要检查的长度,不得为负数,不得大于 CharSequence.length() - start。

返回

如果范围中的所有字符都被视为 RTL 方向,则为 true,否则为 false。

属性

注解

猜测 a CharSequence 是否在 RTL 方向。

Java文档android.text.TextDirectionHeuristic.isRtl(java.lang.CharSequence, int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于

IsRtl(Char[], Int32, Int32)

猜测字符数组是否在 RTL 方向。

[Android.Runtime.Register("isRtl", "([CII)Z", "GetIsRtl_arrayCIIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public bool IsRtl(char[]? array, int start, int count);
[<Android.Runtime.Register("isRtl", "([CII)Z", "GetIsRtl_arrayCIIHandler:Android.Text.ITextDirectionHeuristicInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member IsRtl : char[] * int * int -> bool

参数

array
Char[]

字符数组。

start
Int32

start index, inclusive.

count
Int32

要检查的长度,不得为负数,不得大于 array.length - start。

返回

如果范围中的所有字符都被视为 RTL 方向,则为 true,否则为 false。

属性

注解

猜测字符数组是否在 RTL 方向。

Java文档android.text.TextDirectionHeuristic.isRtl(char[], int, int)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于