---
title: "init(layoutSize:elementKind:alignment:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscollectionlayoutboundarysupplementaryitem/init(layoutsize:elementkind:alignment:)"
---

# init(layoutSize:elementKind:alignment:)

Creates a boundary supplementary item of the specified size and element kind, with an alignment relative to a section or layout.

## Declaration

```swift
convenience init(layoutSize: NSCollectionLayoutSize, elementKind: String, alignment: NSRectAlignment)
```

## See Also

### Creating a boundary supplementary item

- [init(layoutSize:elementKind:alignment:absoluteOffset:)](appkit/nscollectionlayoutboundarysupplementaryitem/init(layoutsize:elementkind:alignment:absoluteoffset:).md)
