Share via


TextBoundsInfo.GetCharacterBounds(Int32, RectF) Method

Definition

Set the bounds of the character at the given index to the given RectF, in the coordinates of the editor.

[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

Parameters

index
Int32

the index of the queried character.

bounds
RectF

the RectF used to receive the result.

Attributes

Remarks

Set the bounds of the character at the given index to the given RectF, in the coordinates of the editor.

Java documentation for android.view.inputmethod.TextBoundsInfo.getCharacterBounds(int, android.graphics.RectF).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to