---
title: "init(edges:fractionalOffset:)"
framework: appkit
role: symbol
role_heading: Initializer
path: "appkit/nscollectionlayoutanchor/init(edges:fractionaloffset:)"
---

# init(edges:fractionalOffset:)

Creates an anchor with the specified edges to attach to, offset by the provided fractional value.

## Declaration

```swift
convenience init(edges: NSDirectionalRectEdge, fractionalOffset: NSPoint)
```

## See Also

### Creating an anchor

- [init(edges:)](appkit/nscollectionlayoutanchor/init(edges:).md)
- [init(edges:absoluteOffset:)](appkit/nscollectionlayoutanchor/init(edges:absoluteoffset:).md)
