<!--
{
  "availability" : [
    "macOS: 10.5.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSWindow/contentBorderThickness(for:)",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSWindow(im)contentBorderThicknessForEdge:"
  },
  "title" : "contentBorderThickness(for:)"
}
-->

# contentBorderThickness(for:)

Indicates the thickness of a given border of the window.

```
func contentBorderThickness(for edge: NSRectEdge) -> CGFloat
```

## Parameters

`edge`

The border whose thickness to get:

- `NSMaxYEdge`: Top border.
- `NSMinYEdge`: Bottom border.

## Return Value

Thickness of the given border, in points.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)