---
title: "defaultRectForExposurePoint(ofInterest:)"
framework: avfoundation
role: symbol
role_heading: Instance Method
path: "avfoundation/avcapturedevice/defaultrectforexposurepoint(ofinterest:)"
---

# defaultRectForExposurePoint(ofInterest:)

The default rectangle of interest used for a given exposure point of interest.

## Declaration

```swift
func defaultRectForExposurePoint(ofInterest pointOfInterest: CGPoint) -> CGRect
```

## Parameters

- `pointOfInterest`: The point of interest for which you want the default rectangle of interest.

## Discussion

Discussion For example, pass (0.5, 0.5) to get the exposure rectangle of interest used for the default exposure point of interest at (0.5, 0.5). This method returns CGRectNull if isExposureRectOfInterestSupported returns false.

## See Also

### Setting an exposure rectangle of interest

- [isExposureRectOfInterestSupported](avfoundation/avcapturedevice/isexposurerectofinterestsupported.md)
- [exposureRectOfInterest](avfoundation/avcapturedevice/exposurerectofinterest.md)
- [minExposureRectOfInterestSize](avfoundation/avcapturedevice/minexposurerectofinterestsize.md)
