---
title: shadowPath
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uipreviewparameters/shadowpath
---

# shadowPath

The path to use for drawing the preview’s shadow.

## Declaration

```swift
@NSCopying var shadowPath: UIBezierPath? { get set }
```

## Discussion

Discussion If nil, the system uses the visiblePath to draw the shadow.

## See Also

### Configuring the preview attributes

- [backgroundColor](uikit/uipreviewparameters/backgroundcolor.md)
- [visiblePath](uikit/uipreviewparameters/visiblepath.md)
