---
title: endPoint
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfannotation/endpoint
---

# endPoint

The point where a line ends, in annotation-space coordinates.

## Declaration

```swift
var endPoint: CGPoint { get set }
```

```swift
var endPoint: NSPoint { get set }
```

## See Also

### Configuring Line Annotations

- [startPoint](pdfkit/pdfannotation/startpoint.md)
- [startLineStyle](pdfkit/pdfannotation/startlinestyle.md)
- [endLineStyle](pdfkit/pdfannotation/endlinestyle.md)
- [lineStyle(fromName:)](pdfkit/pdfannotation/linestyle(fromname:).md)
- [name(for:)](pdfkit/pdfannotation/name(for:).md)
