NumericShaper.Shape 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
| 名稱 | Description |
|---|---|
| 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)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
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
索引成<程式碼>/程式碼<>開始轉換
- count
- Int32
程式碼文本/程式碼中需轉換的字元<><數>
- context
- NumericShaper.Range
將字元轉換到的上下文,例如 NumericShaper.Range.European。
- 屬性
備註
Java 文件 java.awt.font.NumericShaper.shape(char[], int, int)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。
適用於
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)。
此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。