---
title: PDFAnnotationSubtype
framework: pdfkit
role: symbol
role_heading: Structure
path: pdfkit/pdfannotationsubtype
---

# PDFAnnotationSubtype

The type of annotation, such as circle, text, or ink.

## Declaration

```swift
struct PDFAnnotationSubtype
```

## Topics

### Choosing an Annotation Subtype

- [circle](pdfkit/pdfannotationsubtype/circle.md)
- [freeText](pdfkit/pdfannotationsubtype/freetext.md)
- [highlight](pdfkit/pdfannotationsubtype/highlight.md)
- [ink](pdfkit/pdfannotationsubtype/ink.md)
- [line](pdfkit/pdfannotationsubtype/line.md)
- [link](pdfkit/pdfannotationsubtype/link.md)
- [popup](pdfkit/pdfannotationsubtype/popup.md)
- [square](pdfkit/pdfannotationsubtype/square.md)
- [stamp](pdfkit/pdfannotationsubtype/stamp.md)
- [strikeOut](pdfkit/pdfannotationsubtype/strikeout.md)
- [text](pdfkit/pdfannotationsubtype/text.md)
- [underline](pdfkit/pdfannotationsubtype/underline.md)
- [widget](pdfkit/pdfannotationsubtype/widget.md)

### Creating an Annotation Subtype

- [init(rawValue:)](pdfkit/pdfannotationsubtype/init(rawvalue:).md)

## Relationships

### Conforms To

- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [RawRepresentable](swift/rawrepresentable.md)
- [Sendable](swift/sendable.md)
- [SendableMetatype](swift/sendablemetatype.md)

## See Also

### Creating an Annotation

- [init(bounds:forType:withProperties:)](pdfkit/pdfannotation/init(bounds:fortype:withproperties:).md)
