---
title: "setTextShadow(_:)"
framework: webkit
role: symbol
role_heading: Instance Method
path: "webkit/domcssstyledeclaration/settextshadow(_:)"
---

# setTextShadow(_:)

## Declaration

```swift
func setTextShadow(_ textShadow: String!)
```
