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

# focusRingMaskBounds

The focus ring mask bounds, specified in the view’s coordinate space.

```
var focusRingMaskBounds: NSRect { get }
```

## Discussion

The rectangle in this property is specified relative to the view’s interior (bounds) coordinate space. The mask bounds allows the focus ring’s overall size and position to be determined before it is drawn. Override this property if your view requires the display of a focus ring. The default value of this property is <doc://com.apple.documentation/documentation/Foundation/NSZeroRect>.

> Note:
> The information provided by this property enables Accessibility to identify selected subelements for zoom tracking, so it is important that this method provide a reasonably tight bounding box and that the ``doc://com.apple.appkit/documentation/AppKit/NSView/noteFocusRingMaskChanged()`` method is called as described.

---

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)