---
title: capInsets
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsimage/capinsets
---

# capInsets

The cap insets for the image.

## Declaration

```swift
var capInsets: NSEdgeInsets { get set }
```

## See Also

### Managing Drawing Options

- [isValid](appkit/nsimage/isvalid.md)
- [backgroundColor](appkit/nsimage/backgroundcolor.md)
- [resizingMode](appkit/nsimage/resizingmode-swift.property.md)
- [NSImage.ResizingMode](appkit/nsimage/resizingmode-swift.enum.md)
