語言

CursorAnchorInfo.GetCharacterBounds(Int32) 方法

定義

回傳一個新的實例 RectF ,指示以索引指定的字元位置。

[Android.Runtime.Register("getCharacterBounds", "(I)Landroid/graphics/RectF;", "")]
public Android.Graphics.RectF? GetCharacterBounds(int index);
[<Android.Runtime.Register("getCharacterBounds", "(I)Landroid/graphics/RectF;", "")>]
member this.GetCharacterBounds : int -> Android.Graphics.RectF

參數

index
Int32

在 Java 字元中,字元的索引。

傳回

字元在局部座標中作為 的 RectF一個新實例 的邊界。

屬性

備註

回傳一個新的實例 RectF ,指示以索引指定的字元位置。

的 android.view.inputmethod.CursorAnchorInfo.getCharacterBounds(int)Java 檔。

此頁面的部分是根據 Android 開放原始碼專案所建立和共用的工作進行修改,並根據 Creative Commons 2.5 屬性授權中所述的詞彙使用。

適用於