---
title: "intersection(_:)"
framework: corefoundation
role: symbol
role_heading: Instance Method
path: "corefoundation/cgrect/intersection(_:)"
---

# intersection(_:)

## Declaration

```swift
func intersection(_ r2: CGRect) -> CGRect
```
