---
title: square
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfannotationlineendingstyle/square
---

# square

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

## Declaration

```swift
static let square: PDFAnnotationLineEndingStyle
```

## See Also

### Choosing a Line-Ending Style

- [circle](pdfkit/pdfannotationlineendingstyle/circle.md)
- [closedArrow](pdfkit/pdfannotationlineendingstyle/closedarrow.md)
- [diamond](pdfkit/pdfannotationlineendingstyle/diamond.md)
- [none](pdfkit/pdfannotationlineendingstyle/none.md)
- [openArrow](pdfkit/pdfannotationlineendingstyle/openarrow.md)
