---
title: top
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsedgeinsets/top
---

# top

The distance from the top of the source rectangle to the top of the result rectangle.

## Declaration

```swift
var top: Double
```

## See Also

### Specifying the edge insets

- [bottom](foundation/nsedgeinsets/bottom.md)
- [left](foundation/nsedgeinsets/left.md)
- [right](foundation/nsedgeinsets/right.md)
