語言

TextBoundsInfo.GetCharacterBounds(Int32, RectF) 方法

定義

將字元在給定indexRectF的 ,設定在編輯器座標的 ,該邊界。

[Android.Runtime.Register("getCharacterBounds", "(ILandroid/graphics/RectF;)V", "", ApiSince=34)]
public void GetCharacterBounds(int index, Android.Graphics.RectF bounds);
[<Android.Runtime.Register("getCharacterBounds", "(ILandroid/graphics/RectF;)V", "", ApiSince=34)>]
member this.GetCharacterBounds : int * Android.Graphics.RectF -> unit

參數

index
Int32

查詢字元的索引。

bounds
RectF

他們 RectF 過去會接收結果。

屬性

備註

將字元在給定indexRectF的 ,設定在編輯器座標的 ,該邊界。

Java 文件 android.view.inputmethod.TextBoundsInfo.getCharacterBounds(int, android.graphics.RectF)。

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

適用於