<!--
{
  "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

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

No line ending.

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

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

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

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

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

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

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

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

[`PDFLineStyle.closedArrow`](/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.



---

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)