---
title: focusRingMaskBounds
framework: appkit
role: symbol
role_heading: Instance Property
path: appkit/nsview/focusringmaskbounds
---

# focusRingMaskBounds

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

## Declaration

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

## Discussion

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 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 noteFocusRingMaskChanged() method is called as described.

## See Also

### Drawing the Focus Ring

- [focusRingType](appkit/nsview/focusringtype.md)
- [drawFocusRingMask()](appkit/nsview/drawfocusringmask().md)
- [noteFocusRingMaskChanged()](appkit/nsview/notefocusringmaskchanged().md)
- [setKeyboardFocusRingNeedsDisplay(_:)](appkit/nsview/setkeyboardfocusringneedsdisplay(_:).md)
- [defaultFocusRingType](appkit/nsview/defaultfocusringtype.md)
