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

# Class Path.PathSegment

> **Inheritance:** `System.Object` -> Path.PathSegment

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

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

```csharp title="Syntax"
public class PathSegment : ICloneable
```

## Implements

* `System.ICloneable`

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

### PathSegment

```csharp
public PathSegment(string name, List<PointF> points)
```

## Properties

### Name

```csharp
public string Name { get; }
```

### Points

```csharp
public List<PointF> Points { get; }
```

## Methods

### Clone

```csharp
public object Clone()
```

##### Returns

`System.Object`

### Equals

```csharp
public bool Equals(Path.PathSegment obj, double tolerance = 0.0001)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| [Aurigma.DesignAtoms.Model.Math.Path.PathSegment](https://customerscanvas.com/docs/on-premises/design-atoms-cs/reference/api/Aurigma.DesignAtoms.Model.Math/Path.PathSegment.md) | *obj* |  |
| `System.Double` | *tolerance* |  |

##### Returns

`System.Boolean`

### ToSvgString

```csharp
public void ToSvgString(StringBuilder sb)
```

##### Parameters

| Type | Name | Description |
|:---|:---|:---|
| `System.Text.StringBuilder` | *sb* |  |
