Share via


MeasuredText.GetBounds(Int32, Int32, Rect) Method

Definition

Retrieves the boundary box of the given range

[Android.Runtime.Register("getBounds", "(IILandroid/graphics/Rect;)V", "GetGetBounds_IILandroid_graphics_Rect_Handler", ApiSince=29)]
public virtual void GetBounds (int start, int end, Android.Graphics.Rect rect);
[<Android.Runtime.Register("getBounds", "(IILandroid/graphics/Rect;)V", "GetGetBounds_IILandroid_graphics_Rect_Handler", ApiSince=29)>]
abstract member GetBounds : int * int * Android.Graphics.Rect -> unit
override this.GetBounds : int * int * Android.Graphics.Rect -> unit

Parameters

start
Int32

an inclusive start index of the range

end
Int32

an exclusive end index of the range

rect
Rect

an output parameter

Attributes

Remarks

Retrieves the boundary box of the given range

Java documentation for android.graphics.text.MeasuredText.getBounds(int, int, android.graphics.Rect).

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