---
title: onlyShadows
framework: coregraphics
role: symbol
role_heading: Type Property
path: coregraphics/cgwindowimageoption/onlyshadows
---

# onlyShadows

## Declaration

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

## Discussion

Discussion When capturing the window, only the shadow effects are captured.

## See Also

### Type Properties

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