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

# Class PathBuilder

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

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

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

```csharp title="Syntax"
public class PathBuilder : IPathBuilder, IPathBuilderContext
```

## Implements

* [Aurigma.DesignAtoms.ImageProcessing.Parsing.Builders.Path.IPathBuilder](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Parsing.Builders.Path/IPathBuilder.md)
* [Aurigma.DesignAtoms.ImageProcessing.Parsing.Builders.Path.IPathBuilderContext](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.ImageProcessing.Parsing.Builders.Path/IPathBuilderContext.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

### PathBuilder

```csharp
public PathBuilder()
```

## Properties

### State

```csharp
public IPathBuilderState State { get; set; }
```

### Path

```csharp
public List<Segment> Path { get; }
```

## Methods

### Add

```csharp
public IPathBuilder Add(PathPoint point)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `Aurigma.GraphicsMill.AdvancedDrawing.PathPoint` | *point* |  |

##### Returns

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

### Build

```csharp
public IEnumerable<Segment> Build()
```

##### Returns

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