---
title: "setEnd(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfannotationline/setend(_:)-9cp0t"
---

# setEnd(_:)

Sets the line ending style for the ending point of the line.

## Declaration

```swift
func setEnd(_ style: PDFLineStyle)
```

## Parameters

- `style`: The line ending style for the ending point of the line.

## See Also

### Specifying the Line Ending Styles

- [startLineStyle()](pdfkit/pdfannotationline/startlinestyle().md)
- [setStart(_:)](pdfkit/pdfannotationline/setstart(_:)-57pe0.md)
- [endLineStyle()](pdfkit/pdfannotationline/endlinestyle().md)
