<!--
{
  "availability" : [
    "macOS: 10.4.0 - 10.12.0"
  ],
  "documentType" : "symbol",
  "framework" : "PDFKit",
  "identifier" : "/documentation/PDFKit/PDFAnnotationMarkup",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "PDFKit"
    ],
    "preciseIdentifier" : "c:objc(cs)PDFAnnotationMarkup"
  },
  "title" : "PDFAnnotationMarkup"
}
-->

# PDFAnnotationMarkup

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

```
class PDFAnnotationMarkup
```

## Overview

The [`lineWidth`](/documentation/PDFKit/PDFBorder/lineWidth) and [`style`](/documentation/PDFKit/PDFBorder/style) properties of the annotation’s associated `PDFBorder` object determines the stroke thickness and style. The [`color`](/documentation/PDFKit/PDFAnnotation/color) property of the `PDFAnnotation` class determines the stroke color.

## Topics

### Working with Markup Boundaries

[`-  quadrilateralPoints`](/documentation/PDFKit/PDFAnnotationMarkup/quadrilateralPoints())

Gets the array of quadrilateral points defining the bounds of the markup.

[`-  setQuadrilateralPoints:`](/documentation/PDFKit/PDFAnnotationMarkup/setQuadrilateralPoints(_:))

Sets the array of quadrilateral points defining the bounds of the markup.

### Working with Markup Style

[`-  markupType`](/documentation/PDFKit/PDFAnnotationMarkup/markupType())

Gets the markup style.

[`-  setMarkupType:`](/documentation/PDFKit/PDFAnnotationMarkup/setMarkupType(_:))

Sets the markup style.

### Constants

[`PDFMarkupType`](/documentation/PDFKit/PDFMarkupType)

The styles available for markup annotations in PDFKit.

## Relationships

### Inherits From

[`PDFAnnotation`](/documentation/PDFKit/PDFAnnotation)

### Conforms To

[`CVarArg`](/documentation/Swift/CVarArg)

[`Equatable`](/documentation/Swift/Equatable)

[`NSCoding`](/documentation/Foundation/NSCoding)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`NSCopying`](/documentation/Foundation/NSCopying)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)