语言

NumericShaper.Shape 方法

定义

重载

名称 说明
Shape(Char[], Int32, Int32)

转换开始和开始 + 计数之间出现的文本中的数字。

Shape(Char[], Int32, Int32, NumericShaper+Range)

转换开始和开始 + 计数之间出现的文本中的数字。

Shape(Char[], Int32, Int32, Int32)

使用提供的上下文转换在开始和开始 + 计数之间发生的文本中的数字。

Shape(Char[], Int32, Int32)

转换开始和开始 + 计数之间出现的文本中的数字。

[Android.Runtime.Register("shape", "([CII)V", "")]
public void Shape(char[]? text, int start, int count);
[<Android.Runtime.Register("shape", "([CII)V", "")>]
member this.Shape : char[] * int * int -> unit

参数

text
Char[]

要转换的字符数组

start
Int32

要开始转换的索引text

count
Int32

要转换的字符 text 数

特性

注解

转换开始和开始 + 计数之间出现的文本中的数字。

Java文档java.awt.font.NumericShaper.shape(char[], int, int)。

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

适用于

Shape(Char[], Int32, Int32, NumericShaper+Range)

转换开始和开始 + 计数之间出现的文本中的数字。

[Android.Runtime.Register("shape", "([CIILjava/awt/font/NumericShaper$Range;)V", "", ApiSince=24)]
public void Shape(char[]? text, int start, int count, Java.Awt.Font.NumericShaper.Range? context);
[<Android.Runtime.Register("shape", "([CIILjava/awt/font/NumericShaper$Range;)V", "", ApiSince=24)>]
member this.Shape : char[] * int * int * Java.Awt.Font.NumericShaper.Range -> unit

参数

text
Char[]

要转换的字符数组

start
Int32

要开始转换的索引text

count
Int32

要转换的字符 text 数

context
NumericShaper.Range

要向其转换字符的上下文,例如 NumericShaper.Range.European。

特性

注解

Java文档java.awt.font.NumericShaper.shape(char[], int, int)。

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

适用于

Shape(Char[], Int32, Int32, Int32)

使用提供的上下文转换在开始和开始 + 计数之间发生的文本中的数字。

[Android.Runtime.Register("shape", "([CIII)V", "")]
public void Shape(char[]? text, int start, int count, int context);
[<Android.Runtime.Register("shape", "([CIII)V", "")>]
member this.Shape : char[] * int * int * int -> unit

参数

text
Char[]

字符数组

start
Int32

要开始转换的索引text

count
Int32

要转换的字符 text 数

context
Int32

要向其转换字符的上下文,例如 NumericShaper.EUROPEAN

特性

注解

使用提供的上下文转换在开始和开始 + 计数之间发生的文本中的数字。 如果整形程序不是上下文整形程序,则忽略上下文。

Java文档java.awt.font.NumericShaper.shape(char[], int, int, int)。

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

适用于