# TextRectangle

`import { TextRectangle } from "destack:input/binding";`

Text input rectangle in local logical units.

```ds title="TextRectangle"
export struct TextRectangle {
    x: float64;
    y: float64;
    width: float64;
    height: float64;
}
```

[language/library/src/input/binding/text.ds:39:48](https://github.com/destack-sh/destack/blob/main/language/library/src/input/binding/text.ds#L39-L48)

## Members

### `x: float64`

Rectangle left coordinate.

### `y: float64`

Rectangle top coordinate.

### `width: float64`

Rectangle width.

### `height: float64`

Rectangle height.
