---
title: set()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsshadow/set()
---

# set()

Sets the shadow of subsequent drawing operations to the current shadow.

## Declaration

```swift
func set()
```

## Discussion

Discussion The shadow attributes of the receiver are used until another shadow is set or until the graphics state is restored.
