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

# displayIgnoringOpacity(_:)

Displays the view but confines drawing to a specified region and does not back up to the first opaque ancestor—it simply causes the view and its descendants to execute their drawing code.

## Declaration

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

## Parameters

- `rect`: A rectangle defining the region of the view 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(_:in:)](appkit/nsview/displayignoringopacity(_:in:).md)
- [displayIfNeeded()](appkit/nsview/displayifneeded().md)
- [displayIfNeeded(_:)](appkit/nsview/displayifneeded(_:).md)
- [displayIfNeededIgnoringOpacity()](appkit/nsview/displayifneededignoringopacity().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)
