---
title: "displayIfNeededIgnoringOpacity(_:)"
framework: appkit
role: symbol
role_heading: Instance Method
path: "appkit/nsview/displayifneededignoringopacity(_:)"
---

# displayIfNeededIgnoringOpacity(_:)

Acts as displayIfNeeded(), but confining drawing to aRect and not backing up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code.

## Declaration

```swift
func displayIfNeededIgnoringOpacity(_ rect: NSRect)
```

## Parameters

- `rect`: A rectangle defining the region to be redrawn. It should be specified in the coordinate system of the view.

## See Also

### Invalidating the View’s Content

- [setNeedsDisplay(_:)](appkit/nsview/setneedsdisplay(_:).md)
- [needsDisplay](appkit/nsview/needsdisplay.md)
- [display()](appkit/nsview/display().md)
- [display(_:)](appkit/nsview/display(_:).md)
- [displayIgnoringOpacity(_:)](appkit/nsview/displayignoringopacity(_:).md)
- [displayIgnoringOpacity(_:in:)](appkit/nsview/displayignoringopacity(_:in:).md)
- [displayIfNeeded()](appkit/nsview/displayifneeded().md)
- [displayIfNeeded(_:)](appkit/nsview/displayifneeded(_:).md)
- [displayIfNeededIgnoringOpacity()](appkit/nsview/displayifneededignoringopacity().md)
- [translateRectsNeedingDisplay(in:by:)](appkit/nsview/translaterectsneedingdisplay(in:by:).md)
- [isOpaque](appkit/nsview/isopaque.md)
- [viewWillDraw()](appkit/nsview/viewwilldraw().md)
