# Rect

## Content

[**DsPdfJS API v9.1.3**](../README)

***

[DsPdfJS API](../globals) / Rect

# Type Alias: Rect

> **Rect** = `object`

Represents the location and size of a rectangle.
The origin is at the top left corner.

## Properties

### height

> **height**: `number`

The height of the rectangle.

***

### width

> **width**: `number`

The width of the rectangle.

***

### x

> **x**: `number`

The X coordinate of the rectangle.

***

### y

> **y**: `number`

The Y coordinate of the rectangle.
