---
title: rotation
framework: pdfkit
role: symbol
role_heading: Instance Property
path: pdfkit/pdfappearancecharacteristics/rotation
---

# rotation

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

## Declaration

```swift
var rotation: Int { get set }
```

## See Also

### Configuring a Widget’s Appearance

- [backgroundColor](pdfkit/pdfappearancecharacteristics/backgroundcolor.md)
- [borderColor](pdfkit/pdfappearancecharacteristics/bordercolor.md)
- [caption](pdfkit/pdfappearancecharacteristics/caption.md)
- [controlType](pdfkit/pdfappearancecharacteristics/controltype.md)
- [downCaption](pdfkit/pdfappearancecharacteristics/downcaption.md)
- [rolloverCaption](pdfkit/pdfappearancecharacteristics/rollovercaption.md)
- [appearanceCharacteristicsKeyValues](pdfkit/pdfappearancecharacteristics/appearancecharacteristicskeyvalues.md)
- [PDFAppearanceCharacteristicsKey](pdfkit/pdfappearancecharacteristicskey.md)
