---
title: shouldBeOpaque
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgwindowimageoption/shouldbeopaque
---

# shouldBeOpaque

## Declaration

```swift
static var shouldBeOpaque: CGWindowImageOption { get }
```

## Discussion

Discussion When capturing the window, partially transparent areas are backed by a solid white color so that the resulting image is fully opaque. You can combine this option with other options.

## See Also

### Type Properties

- [bestResolution](coregraphics/cgwindowimageoption/bestresolution.md)
- [boundsIgnoreFraming](coregraphics/cgwindowimageoption/boundsignoreframing.md)
- [nominalResolution](coregraphics/cgwindowimageoption/nominalresolution.md)
- [onlyShadows](coregraphics/cgwindowimageoption/onlyshadows.md)
