---
title: rotation
framework: pdfkit
role: symbol
role_heading: Type Property
path: pdfkit/pdfappearancecharacteristicskey/rotation
---

# rotation

The number of degrees, in multiples of 90, that the widget annotation rotates counterclockwise relative to the page.

## Declaration

```swift
static let rotation: PDFAppearanceCharacteristicsKey
```

## See Also

### Modifying Widget Appearance

- [backgroundColor](pdfkit/pdfappearancecharacteristicskey/backgroundcolor.md)
- [borderColor](pdfkit/pdfappearancecharacteristicskey/bordercolor.md)
- [caption](pdfkit/pdfappearancecharacteristicskey/caption.md)
- [downCaption](pdfkit/pdfappearancecharacteristicskey/downcaption.md)
- [rolloverCaption](pdfkit/pdfappearancecharacteristicskey/rollovercaption.md)
