---
title: PDFAnnotationMarkup
framework: pdfkit
role: symbol
role_heading: Class
path: pdfkit/pdfannotationmarkup
---

# PDFAnnotationMarkup

A PDFAnnotationMarkup object appears as highlighting, underlining, or a strikethrough style applied to the text of a document.

## Declaration

```swift
class PDFAnnotationMarkup
```

## Overview

Overview The lineWidth and style properties of the annotation’s associated PDFBorder object determines the stroke thickness and style. The color property of the PDFAnnotation class determines the stroke color.

## Topics

### Working with Markup Boundaries

- [quadrilateralPoints()](pdfkit/pdfannotationmarkup/quadrilateralpoints().md)
- [setQuadrilateralPoints(_:)](pdfkit/pdfannotationmarkup/setquadrilateralpoints(_:).md)

### Working with Markup Style

- [markupType()](pdfkit/pdfannotationmarkup/markuptype().md)
- [setMarkupType(_:)](pdfkit/pdfannotationmarkup/setmarkuptype(_:).md)

### Constants

- [PDFMarkupType](pdfkit/pdfmarkuptype.md)

## Relationships

### Inherits From

- [PDFAnnotation](pdfkit/pdfannotation.md)

### Conforms To

- [CVarArg](swift/cvararg.md)
- [CustomDebugStringConvertible](swift/customdebugstringconvertible.md)
- [CustomStringConvertible](swift/customstringconvertible.md)
- [Equatable](swift/equatable.md)
- [Hashable](swift/hashable.md)
- [NSCoding](foundation/nscoding.md)
- [NSCopying](foundation/nscopying.md)
- [NSObjectProtocol](objectivec/nsobjectprotocol.md)

## See Also

### Deprecated Annotation Types

- [PDFAnnotationButtonWidget](pdfkit/pdfannotationbuttonwidget.md)
- [PDFAnnotationChoiceWidget](pdfkit/pdfannotationchoicewidget.md)
- [PDFAnnotationCircle](pdfkit/pdfannotationcircle.md)
- [PDFAnnotationFreeText](pdfkit/pdfannotationfreetext.md)
- [PDFAnnotationInk](pdfkit/pdfannotationink.md)
- [PDFAnnotationLine](pdfkit/pdfannotationline.md)
- [PDFAnnotationLink](pdfkit/pdfannotationlink.md)
- [PDFAnnotationPopup](pdfkit/pdfannotationpopup.md)
- [PDFAnnotationSquare](pdfkit/pdfannotationsquare.md)
- [PDFAnnotationStamp](pdfkit/pdfannotationstamp.md)
- [PDFAnnotationText](pdfkit/pdfannotationtext.md)
- [PDFAnnotationTextWidget](pdfkit/pdfannotationtextwidget.md)
