---
title: bounds
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/cirectanglefeature/bounds-swift.property
---

# bounds

A rectangle indicating the position and extent of the feature in image coordinates.

## Declaration

```swift
var bounds: CGRect { get }
```

## Discussion

Discussion This property identifies the rectangular region of the image containing the detected rectangle, not necessarily the shape of the rectangle. A detected feature is rectangular in space, but may appear in perspective in the image. Use the properties listed in CIRectangleFeature to find the corners of the rectangle as it appears in perspective.
