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 属性许可证中所述的术语使用。

适用于