# EditorBoundsInfo.Builder

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  
Summary:[Ctors](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#pubctors)\|[Methods](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#pubmethods)\|[Inherited Methods](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#inhmethods)  

# EditorBoundsInfo.Builder

*** ** * ** ***

[Kotlin](https://developer.android.com/reference/kotlin/android/view/inputmethod/EditorBoundsInfo.Builder "View this page in Kotlin")\|Java

`
public
static
final

class
EditorBoundsInfo.Builder
`  
`

extends `[Object](https://developer.android.com/reference/java/lang/Object)`


``


`

|---|---------------------------------------------------|
| [java.lang.Object](https://developer.android.com/reference/java/lang/Object) ||
| ↳ | android.view.inputmethod.EditorBoundsInfo.Builder |

<br />

*** ** * ** ***

Builder for[EditorBoundsInfo](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo).

## Summary

|                                                  ### Public constructors                                                  ||
|------------------------------------------------------------------------------------------------------------------------|---|
| ` `[Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#Builder())`() ` |

|                                                                                                                                                                                                                                           ### Public methods                                                                                                                                                                                                                                            ||
|--------------------------------------------------------------------------------------------------------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
| ` `[EditorBoundsInfo](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo)                 | ` `[build](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#build())`() ` Returns[EditorBoundsInfo](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo)using parameters in this[EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder). |
| ` `[EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder) | ` `[setEditorBounds](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#setEditorBounds(android.graphics.RectF))`(`[RectF](https://developer.android.com/reference/android/graphics/RectF)` bounds) ` Sets the bounding box of the current editor.                                                                                     |
| ` `[EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder) | ` `[setHandwritingBounds](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder#setHandwritingBounds(android.graphics.RectF))`(`[RectF](https://developer.android.com/reference/android/graphics/RectF)` bounds) ` Sets the current editor's bounds with padding for handwriting.                                                         |

| ### Inherited methods |
|-----------------------|---|
| From class` `[java.lang.Object](https://developer.android.com/reference/java/lang/Object)` ` |--------------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | ` `[Object](https://developer.android.com/reference/java/lang/Object)          | ` `[clone](https://developer.android.com/reference/java/lang/Object#clone())`() ` Creates and returns a copy of this object.                                                                                                                                                      | | ` boolean`                                                                     | ` `[equals](https://developer.android.com/reference/java/lang/Object#equals(java.lang.Object))`(`[Object](https://developer.android.com/reference/java/lang/Object)` obj) ` Indicates whether some other object is "equal to" this one.                                           | | ` void`                                                                        | ` `[finalize](https://developer.android.com/reference/java/lang/Object#finalize())`() ` Called by the garbage collector on an object when garbage collection determines that there are no more references to the object.                                                          | | ` final `[Class](https://developer.android.com/reference/java/lang/Class)`<?>` | ` `[getClass](https://developer.android.com/reference/java/lang/Object#getClass())`() ` Returns the runtime class of this`Object`.                                                                                                                                                | | ` int`                                                                         | ` `[hashCode](https://developer.android.com/reference/java/lang/Object#hashCode())`() ` Returns a hash code value for the object.                                                                                                                                                 | | ` final void`                                                                  | ` `[notify](https://developer.android.com/reference/java/lang/Object#notify())`() ` Wakes up a single thread that is waiting on this object's monitor.                                                                                                                            | | ` final void`                                                                  | ` `[notifyAll](https://developer.android.com/reference/java/lang/Object#notifyAll())`() ` Wakes up all threads that are waiting on this object's monitor.                                                                                                                         | | ` `[String](https://developer.android.com/reference/java/lang/String)          | ` `[toString](https://developer.android.com/reference/java/lang/Object#toString())`() ` Returns a string representation of the object.                                                                                                                                            | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long,%20int))`(long timeoutMillis, int nanos) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed. | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait(long))`(long timeoutMillis) ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*, or until a certain amount of real time has elapsed.                   | | ` final void`                                                                  | ` `[wait](https://developer.android.com/reference/java/lang/Object#wait())`() ` Causes the current thread to wait until it is awakened, typically by being*notified* or*interrupted*.                                                                                             | ||

## Public constructors

### Builder

```
public Builder ()
```

<br />

<br />

## Public methods

### build

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public EditorBoundsInfo build ()
```

Returns[EditorBoundsInfo](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo)using parameters in this[EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder).

<br />

|                                                                  Returns                                                                  ||
|-------------------------------------------------------------------------------------------------------|------------------------------------|
| [EditorBoundsInfo](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo) | This value cannot be`null`. <br /> |

### setEditorBounds

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public EditorBoundsInfo.Builder setEditorBounds (RectF bounds)
```

Sets the bounding box of the current editor.

<br />

|                                                                   Parameters                                                                   ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------|
| `bounds` | `RectF`:[RectF](https://developer.android.com/reference/android/graphics/RectF)in local coordinates. This value may be`null`. <br /> |

|                                                                          Returns                                                                          ||
|-----------------------------------------------------------------------------------------------------------------------|------------------------------------|
| [EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder) | This value cannot be`null`. <br /> |

### setHandwritingBounds

Added in[API level 33](https://developer.android.com/guide/topics/manifest/uses-sdk-element#ApiLevels)  

```
public EditorBoundsInfo.Builder setHandwritingBounds (RectF bounds)
```

Sets the current editor's bounds with padding for handwriting.

<br />

|                                                                   Parameters                                                                   ||
|----------|--------------------------------------------------------------------------------------------------------------------------------------|
| `bounds` | `RectF`:[RectF](https://developer.android.com/reference/android/graphics/RectF)in local coordinates. This value may be`null`. <br /> |

|                                                                          Returns                                                                          ||
|-----------------------------------------------------------------------------------------------------------------------|------------------------------------|
| [EditorBoundsInfo.Builder](https://developer.android.com/reference/android/view/inputmethod/EditorBoundsInfo.Builder) | This value cannot be`null`. <br /> |