---
title: "Class PathParser | Customer's Canvas On-Premises"
canonical: "https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Parsing/PathParser/"
---

# Class PathParser

> **Inheritance:** `System.Object` -> PathParser

###### **Namespace**: [Aurigma.DesignAtoms.ImageProcessing.Parsing](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Parsing.md)

###### **Assembly**: Aurigma.DesignAtoms.ImageProcessing.dll

```csharp title="Syntax"
public class PathParser : IPathParser
```

## Implements

* [Aurigma.DesignAtoms.ImageProcessing.Parsing.IPathParser](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Parsing/IPathParser.md)

## Inherited Members

* `System.Object.ToString`
* `System.Object.Equals(System.Object)`
* `System.Object.Equals(System.Object,System.Object)`
* `System.Object.ReferenceEquals(System.Object,System.Object)`
* `System.Object.GetHashCode`
* `System.Object.GetType`
* `System.Object.MemberwiseClone`

## Constructors

### PathParser

```csharp
public PathParser()
```

## Methods

### FromGmPath

```csharp
public IEnumerable<Segment> FromGmPath(Path path)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.AdvancedDrawing.Path` | *path* |  |

##### Returns

`System.Collections.Generic.IEnumerable<Aurigma.DesignAtoms.ImageProcessing.LineWidthMeasuring.Path.Segment>`
