<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 11.0.0 -",
    "macOS: 10.4.0 -",
    "tvOS: -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFLineStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@E@PDFLineStyle"
  },
  "title" : "PDFLineStyle"
}
-->

# PDFLineStyle

The following constants specify the available line ending styles.

```
enum PDFLineStyle
```

## Topics

### Constants

[`kPDFLineStyleNone`](/documentation/PDFKit/PDFLineStyle/none)

No line ending.

[`kPDFLineStyleSquare`](/documentation/PDFKit/PDFLineStyle/square)

A square line ending filled with the annotation’s interior color, if any.

[`kPDFLineStyleCircle`](/documentation/PDFKit/PDFLineStyle/circle)

A circular line ending filled with the annotation’s interior color, if any.

[`kPDFLineStyleDiamond`](/documentation/PDFKit/PDFLineStyle/diamond)

A diamond-shaped line ending filled with the annotation’s interior color, if any.

[`kPDFLineStyleOpenArrow`](/documentation/PDFKit/PDFLineStyle/openArrow)

An open arrowhead line ending, composed from two short lines meeting in an acute angle at the line end.

[`kPDFLineStyleClosedArrow`](/documentation/PDFKit/PDFLineStyle/closedArrow)

A closed arrowhead line ending, consisting of a triangle with the acute vertex at the line end and filled with the annotation’s interior color, if any.

## Relationships

### Conforms To

[`Hashable`](/documentation/Swift/Hashable)

[`Equatable`](/documentation/Swift/Equatable)

[`Sendable`](/documentation/Swift/Sendable)

[`RawRepresentable`](/documentation/Swift/RawRepresentable)

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`BitwiseCopyable`](/documentation/Swift/BitwiseCopyable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)