---
title: addClip()
framework: appkit
role: symbol
role_heading: Instance Method
path: appkit/nsbezierpath/addclip()
---

# addClip()

Intersects the area enclosed by the path with the clipping path of the current graphics context and makes the resulting shape the current clipping path.

## Declaration

```swift
func addClip()
```

## Discussion

Discussion This method uses the current winding rule to determine the clipping shape of the receiver. This method does not affect the receiver’s path.

## See Also

### Specifying a Clipping Path

- [setClip()](appkit/nsbezierpath/setclip().md)
- [clip(_:)](appkit/nsbezierpath/clip(_:).md)
