---
title: "init(top:left:bottom:right:)"
framework: foundation
role: symbol
role_heading: Initializer
path: "foundation/nsedgeinsets/init(top:left:bottom:right:)"
---

# init(top:left:bottom:right:)

Creates an edge insets structure with the specified inset values.

## Declaration

```swift
init(top: Double, left: Double, bottom: Double, right: Double)
```

## See Also

### Creating an edge insets structure

- [NSEdgeInsetsMake(_:_:_:_:)](foundation/nsedgeinsetsmake(_:_:_:_:).md)
- [init()](foundation/nsedgeinsets/init().md)
