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

# borderColor

The border color of the widget annotation.

## Declaration

```swift
@NSCopying var borderColor: UIColor? { get set }
```

```swift
@NSCopying var borderColor: NSColor? { get set }
```

## See Also

### Configuring a Widget’s Appearance

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