TextBoundsInfo.GetCharacterBounds(Int32, RectF) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
將字元在給定indexRectF的 ,設定在編輯器座標的 ,該邊界。
[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 過去會接收結果。
- 屬性
備註
將字元在給定indexRectF的 ,設定在編輯器座標的 ,該邊界。
Java 文件 android.view.inputmethod.TextBoundsInfo.getCharacterBounds(int, android.graphics.RectF)。
本頁部分內容為基於 Open Source Project 所創建與分享的作品,並依授權條款所描述的使用進行修改。