TextBoundsInfo.GetCharacterBounds(Int32, RectF) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
在编辑器的坐标中,将给定字符的边界 index 设置为给定 RectF的边界。
[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用于接收结果的 。
- 特性
注解
在编辑器的坐标中,将给定字符的边界 index 设置为给定 RectF的边界。
Java文档android.view.inputmethod.TextBoundsInfo.getCharacterBounds(int, android.graphics.RectF)。
本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。