<!--
{
  "availability" : [
    "macOS: -"
  ],
  "documentType" : "symbol",
  "framework" : "AppKit",
  "identifier" : "/documentation/AppKit/NSBox/borderRect",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AppKit"
    ],
    "preciseIdentifier" : "c:objc(cs)NSBox(py)borderRect"
  },
  "title" : "borderRect"
}
-->

# borderRect

The rectangle in which the receiver’s border is drawn.

```
var borderRect: NSRect { get }
```

## See Also

  [Box Programming Topics](https://developer.apple.com/library/archive/documentation/Cocoa/Conceptual/Box/Box.html#//apple_ref/doc/uid/10000017i)



---

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)