---
title: "setInteriorColor(_:)"
framework: pdfkit
role: symbol
role_heading: Instance Method
path: "pdfkit/pdfannotationline/setinteriorcolor(_:)"
---

# setInteriorColor(_:)

Sets the color used to fill the ornament at the ends of the line.

## Declaration

```swift
func setInteriorColor(_ color: NSColor!)
```

## Parameters

- `color`: The color to be used to fill in the ornament at the ends of the line.

## Discussion

Discussion The ornament at the end of a line is optional (for more information, see the Adobe PDF Specification 1.4).

## See Also

### Specifying the Color of Line-end Ornaments

- [interiorColor()](pdfkit/pdfannotationline/interiorcolor().md)
