---
title: "PrintAreaClippingHandler | Customer&#x27;s Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-js/reference/design-atoms/PrintAreaClippingHandler/"
archived: false
applies_to:
  - product: "Customer's Canvas On-Premises"
    entity_id: "https://customerscanvas.com/glossary/customers-canvas-on-premises#software-application"
  - product: "Customer's Canvas Hub"
    versions: ["cloud"]
    entity_id: "https://customerscanvas.com/products/hub#software-application"
  - product: "Design Atoms JS"
    versions: ["7.4"]
    entity_id: "https://customerscanvas.com/glossary/design-atoms-js#software-application"
---

# PrintAreaClippingHandler

**Applies to:** Customer's Canvas On-Premises; Customer's Canvas Hub cloud; Design Atoms JS 7.4

> API reference for the PrintAreaClippingHandler module in @aurigma/design-atoms.

## Classes

### PrintAreaClippingHandler

#### Constructors

##### Constructor

```ts
new PrintAreaClippingHandler(textWhizz): PrintAreaClippingHandler;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `textWhizz` | `Promise`\<`any`\> |

###### Returns

[`PrintAreaClippingHandler`](#printareaclippinghandler)

#### Accessors

##### surface

###### Get Signature

```ts
get surface(): Surface;
```

###### Returns

`Surface`

###### Set Signature

```ts
set surface(value): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `value` | `Surface` |

###### Returns

`void`

#### Methods

##### addChanged()

```ts
addChanged(listener): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listener` | () => `void` |

###### Returns

`void`

##### dispose()

```ts
dispose(): void;
```

###### Returns

`void`

##### getClippingPath()

```ts
getClippingPath(type): Path;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `type` | `PrintAreaBoundsType` |

###### Returns

`Path`

##### removeChanged()

```ts
removeChanged(listener): void;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `listener` | () => `void` |

###### Returns

`void`

##### buildClippingPath()

```ts
static buildClippingPath(
   printAreas, 
   type, 
   textWhizz): Path;
```

###### Parameters

| Parameter | Type |
| ------ | ------ |
| `printAreas` | `PrintArea`[] |
| `type` | `PrintAreaBoundsType` |
| `textWhizz` | `any` |

###### Returns

`Path`
