<!--
{
  "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/PDFAnnotationLineEndingStyle",
  "metadataVersion" : "0.1.0",
  "role" : "Structure",
  "symbol" : {
    "kind" : "Structure",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:@T@PDFAnnotationLineEndingStyle"
  },
  "title" : "PDFAnnotationLineEndingStyle"
}
-->

# PDFAnnotationLineEndingStyle

```
struct PDFAnnotationLineEndingStyle
```

## Topics

### Choosing a Line-Ending Style

[`circle`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/circle)

A style that displays a circle line ending and fills it with the annotation’s interior color.

[`closedArrow`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/closedArrow)

A style that displays a closed arrowhead line ending and fills it with the annotation’s interior color.

[`diamond`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/diamond)

[`none`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/none)

[`openArrow`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/openArrow)

A style that displays an open arrowhead line ending.

[`square`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/square)

A style that displays a square line ending and fills it with the annotation’s interior color.

### Creating a Line-Ending Style

[`init(rawValue:)`](/documentation/PDFKit/PDFAnnotationLineEndingStyle/init(rawValue:))

Creates a line-ending style using the specified raw string value.



---

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)