語言

Layout.FillCharacterBounds(Int32, Int32, Single[], Int32) 方法

定義

回傳給定範圍內的字元界限。

[Android.Runtime.Register("fillCharacterBounds", "(II[FI)V", "GetFillCharacterBounds_IIarrayFIHandler", ApiSince=34)]
public virtual void FillCharacterBounds(int start, int end, float[] bounds, int boundsStart);
[<Android.Runtime.Register("fillCharacterBounds", "(II[FI)V", "GetFillCharacterBounds_IIarrayFIHandler", ApiSince=34)>]
abstract member FillCharacterBounds : int * int * single[] * int -> unit
override this.FillCharacterBounds : int * int * single[] * int -> unit

參數

start
Int32

開始索引用於計算字元界限,包含字元範圍。

end
Int32

計算字元界限的末端索引,排他。

bounds
Single[]

用來填補字元邊界的陣列。 陣列被劃分為四個區段,每個區段中的索引分別代表字元的左、上、右和下。

boundsStart
Int32

陣列中的包含性起始索引,開始填入 的值。

屬性

備註

回傳給定範圍內的字元界限。 bounds陣列將從(含)開始boundsStart填充。 座標在本地文字版面中。

Java 文件 android.text.Layout.fillCharacterBounds(int, int, float[], int)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於