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

# PathUtils

> `Path`

## Functions

### fromTextWhizzPath()

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

#### Parameters

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

#### Returns

***

### 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`
