CursorAnchorInfo.GetCharacterBounds(Int32) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
返回一个新实例,该实例 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 属性许可证中所述的术语使用。