---
title: NSView.LayerContentsPlacement.top
framework: appkit
role: symbol
role_heading: Case
path: appkit/nsview/layercontentsplacement-swift.enum/top
---

# NSView.LayerContentsPlacement.top

The content is horizontally centered at the top-edge of the bounds rectangle.

## Declaration

```swift
case top
```

## See Also

### Constants

- [NSView.LayerContentsPlacement.scaleAxesIndependently](appkit/nsview/layercontentsplacement-swift.enum/scaleaxesindependently.md)
- [NSView.LayerContentsPlacement.scaleProportionallyToFit](appkit/nsview/layercontentsplacement-swift.enum/scaleproportionallytofit.md)
- [NSView.LayerContentsPlacement.scaleProportionallyToFill](appkit/nsview/layercontentsplacement-swift.enum/scaleproportionallytofill.md)
- [NSView.LayerContentsPlacement.center](appkit/nsview/layercontentsplacement-swift.enum/center.md)
- [NSView.LayerContentsPlacement.topRight](appkit/nsview/layercontentsplacement-swift.enum/topright.md)
- [NSView.LayerContentsPlacement.right](appkit/nsview/layercontentsplacement-swift.enum/right.md)
- [NSView.LayerContentsPlacement.bottomRight](appkit/nsview/layercontentsplacement-swift.enum/bottomright.md)
- [NSView.LayerContentsPlacement.bottom](appkit/nsview/layercontentsplacement-swift.enum/bottom.md)
- [NSView.LayerContentsPlacement.bottomLeft](appkit/nsview/layercontentsplacement-swift.enum/bottomleft.md)
- [NSView.LayerContentsPlacement.left](appkit/nsview/layercontentsplacement-swift.enum/left.md)
- [NSView.LayerContentsPlacement.topLeft](appkit/nsview/layercontentsplacement-swift.enum/topleft.md)
