---
title: alignment
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nscollectionlayoutboundarysupplementaryitem/alignment
---

# alignment

The alignment of the boundary supplementary item relative to the section or layout it’s attached to.

## Declaration

```swift
var alignment: NSRectAlignment { get }
```

## See Also

### Specifying position

- [offset](appkit/nscollectionlayoutboundarysupplementaryitem/offset.md)
- [extendsBoundary](appkit/nscollectionlayoutboundarysupplementaryitem/extendsboundary.md)
