語言

MeasuredText.GetBounds(Int32, Int32, Rect) 方法

定義

取回給定範圍的邊界盒

[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

參數

start
Int32

範圍的包含性起始指數

end
Int32

範圍的排他端指數

rect
Rect

輸出參數

屬性

備註

取回給定範圍的邊界盒

Java 文件 android.graphics.text.MeasuredText.getBounds(int, int, android.graphics.Rect)。

本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。

適用於