CursorAnchorInfo.Builder.AddCharacterBounds メソッド
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
インデックスで指定された文字の境界ボックスを追加します。
[Android.Runtime.Register("addCharacterBounds", "(IFFFFI)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "")]
public Android.Views.InputMethods.CursorAnchorInfo.Builder? AddCharacterBounds(int index, float left, float top, float right, float bottom, Android.Views.InputMethods.CursorAnchorFlags flags);
[<Android.Runtime.Register("addCharacterBounds", "(IFFFFI)Landroid/view/inputmethod/CursorAnchorInfo$Builder;", "")>]
member this.AddCharacterBounds : int * single * single * single * single * Android.Views.InputMethods.CursorAnchorFlags -> Android.Views.InputMethods.CursorAnchorInfo.Builder
パラメーター
- index
- Int32
文字のインデックス (Java文字単位)。 連続する呼び出しで昇順で指定する必要があります。
- left
- Single
ローカル座標での文字の左端の x 座標。
- top
- Single
ローカル座標での文字の上端の y 座標。
- right
- Single
ローカル座標での文字の右端の x 座標。
- bottom
- Single
文字の下端の y 座標 (ローカル座標)。
- flags
- CursorAnchorFlags
これらの文字境界のフラグ。 必要に応 HasVisibleRegion、 HasInvisibleRegion、および IsRtl を指定します。
戻り値
文字境界が追加された後のこのビルダー。
- 属性
注釈
インデックスで指定された文字の境界ボックスを追加します。
android.view.inputmethod.CursorAnchorInfo.Builder.addCharacterBoundsの Android リファレンス。
このページの一部は、によって作成および共有され、に記載されている条件に従って使用される作業に基づく変更です。