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

# PathUtils

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

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

## Functions

### fromTextWhizzPath()

```ts
function fromTextWhizzPath(path): Path;
```

#### Parameters

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

#### Returns

`Path`

***

### getPathFirstPoint()

```ts
function getPathFirstPoint(path): PointF;
```

#### Parameters

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

#### Returns

`PointF`

***

### getPathLastPoint()

```ts
function getPathLastPoint(path): PointF;
```

#### Parameters

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

#### Returns

`PointF`

***

### toTextWhizzPath()

```ts
function toTextWhizzPath(textWhizz, modelPath): any;
```

#### Parameters

| Parameter | Type |
| ------ | ------ |
| `textWhizz` | `any` |
| `modelPath` | `Path` |

#### Returns

`any`
