# Bounds

## Content

# Interface: Bounds

Reach data structure with main (x, y, width, height) and additional (rotation angle, direction) information about the shape

## Extends

- [`PointLocation`](PointLocation).[`Size`](Size)

## Properties

### rotationAngle?

```ts
optional rotationAngle: number;
```

Rotation angle

***

### dirX?

```ts
optional dirX: number;
```

X-axis direction

***

### dirY?

```ts
optional dirY: number;
```

Y-axis direction

***

### x

```ts
x: number;
```

X position.

#### Inherited from

[`PointLocation`](PointLocation).[`x`](PointLocation#x)

***

### y

```ts
y: number;
```

Y position.

#### Inherited from

[`PointLocation`](PointLocation).[`y`](PointLocation#y)

***

### width

```ts
width: number;
```

Width.

#### Inherited from

[`Size`](Size).[`width`](Size#width)

***

### height

```ts
height: number;
```

Height.

#### Inherited from

[`Size`](Size).[`height`](Size#height)
