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

# setInteriorColor(_:)

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

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

## Parameters

`color`

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

## Discussion

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

---

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)