---
title: bounds
framework: coreimage
role: symbol
role_heading: Instance Property
path: coreimage/citextfeature/bounds
---

# bounds

A rectangle that indicates the position and extent of the text feature in image coordinates.

## Declaration

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

## Discussion

Discussion This property identifies the rectangular region of the image containing the detected text, not necessarily the shape of the text box. A detected feature is rectangular in space, but may appear as a four-sided polygon in the image. Use the properties listed in CITextFeature to find the corners of the rectangle as it appears in perspective.
