CursorAnchorInfo.GetCharacterBounds(Int32) Method

Definition

Returns a new instance of RectF that indicates the location of the character specified with the index.

[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

Parameters

index
Int32

index of the character in a Java chars.

Returns

the character bounds in local coordinates as a new instance of RectF.

Attributes

Remarks

Returns a new instance of RectF that indicates the location of the character specified with the index.

Java documentation for android.view.inputmethod.CursorAnchorInfo.getCharacterBounds(int).

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