---
title: PDFLineStyle
framework: pdfkit
role: symbol
role_heading: Enumeration
path: pdfkit/pdflinestyle
---

# PDFLineStyle

The following constants specify the available line ending styles.

## Declaration

```swift
enum PDFLineStyle
```

## Topics

### Constants

- [PDFLineStyle.none](pdfkit/pdflinestyle/none.md)
- [PDFLineStyle.square](pdfkit/pdflinestyle/square.md)
- [PDFLineStyle.circle](pdfkit/pdflinestyle/circle.md)
- [PDFLineStyle.diamond](pdfkit/pdflinestyle/diamond.md)
- [PDFLineStyle.openArrow](pdfkit/pdflinestyle/openarrow.md)
- [PDFLineStyle.closedArrow](pdfkit/pdflinestyle/closedarrow.md)

### Initializers

- [init(rawValue:)](pdfkit/pdflinestyle/init(rawvalue:).md)

## Relationships

### Conforms To

- [BitwiseCopyable](swift/bitwisecopyable.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Configuring Line Properties

- [lineEndingStyles](pdfkit/pdfannotationkey/lineendingstyles.md)
- [linePoints](pdfkit/pdfannotationkey/linepoints.md)
- [PDFAnnotationLineEndingStyle](pdfkit/pdfannotationlineendingstyle.md)
