# WindowRect

`import { WindowRect } from "destack:display/binding";`

Window rectangle in logical platform points.

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

[language/library/src/display/binding/window.ds:149:158](https://github.com/destack-sh/destack/blob/main/language/library/src/display/binding/window.ds#L149-L158)

## Members

### `x: float64`

Logical x coordinate.

### `y: float64`

Logical y coordinate.

### `width: float64`

Logical width.

### `height: float64`

Logical height.
