语言

TextBoundsInfo.GetCharacterBounds(Int32, RectF) 方法

定义

在编辑器的坐标中,将给定字符的边界 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)。

本页的某些部分是根据 创建和共享的工作进行的修改,并根据 许可证中所述的条款使用。

适用于