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

# LineStyle

## Overview

`LineStyle` is a type in Aspose.PDF FOSS for Go.

LineStyle describes how a stroked path is drawn.

Properties: `Cap`, `Color`, `DashPattern`, `DashPhase`, `Join`, `MiterLimit`, and 1 more.

## Properties

| Name | Type | Access | Description |
|------|------|--------|-------------|
| `Color` | `*Color` | Read/Write | Gets the color. |
| `Width` | `float64` | Read/Write | Gets the width. |
| `DashPattern` | `[]float64` | Read/Write | Gets the dash pattern. |
| `DashPhase` | `float64` | Read/Write | Gets the dash phase. |
| `Cap` | `LineCap` | Read/Write | Gets the cap. |
| `Join` | `LineJoin` | Read/Write | Gets the join. |
| `MiterLimit` | `float64` | Read/Write | Gets the miter limit. |

## See Also

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