# PathEndsPerfectlyMatch(IList<BezierPathSegment>)

> Checks if the two ends of a BezierPathSegment chain are at the same location.

## Definition

* **Type:** Method
* **Namespace:** [Unity.VectorGraphics](/engine/6000.7/script-reference/unity/vectorgraphics.md)
* **Assembly:** UnityEngine.VectorGraphicsModule

```csharp
public static bool PathEndsPerfectlyMatch(IList<BezierPathSegment> path)
```

### Parameters

**** (\[IList\<BezierPathSegment>]\(https\://learn.microsoft.com/dotnet/api/system.collections.generic.ilist-1)): The chain of BezierPathSegments

### Returns

| Type                                                          | Description                                                                 |
| ------------------------------------------------------------- | --------------------------------------------------------------------------- |
| [bool](https://learn.microsoft.com/dotnet/api/system.boolean) | True if the two ends of the chain are at the same location, false otherwise |
