---
title: "PathHandler | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/PathHandler/"
---

# PathHandler

> [`PathHandler`](#pathhandler)

## Classes

### PathHandler

#### Constructors

##### Constructor

```ts
new PathHandler(): PathHandler;
```

###### Returns

#### Accessors

##### designAtomsApiClient

###### Set Signature

```ts
set static designAtomsApiClient(designAtomsApiClient): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `designAtomsApiClient` | [`IDesignAtomsApiClient`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/IDesignAtomsApiClient.md#idesignatomsapiclient) |

###### Returns

`void`

##### textWhizz

###### Set Signature

```ts
set static textWhizz(textWhizz): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textWhizz` | `any` |

###### Returns

`void`

#### Methods

##### getBounds()

```ts
static getBounds(path): Promise<any>;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `Path` |

###### Returns

[`Promise`](https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/finally.md#promise)\<`any`\>

##### getBoundsSync()

```ts
static getBoundsSync(path): any;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `path` | `Path` |

###### Returns

`any`
