---
Product: Aspose.PDF
Platform: net
Page Type: reference
Canonical URL: https://reference.aspose.org/pdf/net/PathSegment
---

# PathSegment

## Overview

`PathSegment` is a class in Aspose.PDF FOSS for .NET.

Represents a segment of a path.

This class provides 1 method for working with PathSegment objects in .NET programs.
Available methods include: `PathSegment`.
All public members are accessible to any .NET application after installing the Aspose.PDF FOSS for .NET package.
Properties: `Points`, `Type`.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Type` | `PathOperationType` | Read | The operation type. |
| `Points` | `double[]` | Read | Point coordinates (x,y pairs). |

## Methods

| Signature | Description |
|-----------|-------------|
| `PathSegment(type: PathOperationType, points: double[])` | Calls PathSegment on this PathSegment instance. |

## See Also

- [Aspose.PDF for .NET — Enterprise API Reference](https://reference.aspose.com/pdf/net/)