---
title: bounds
framework: avfoundation
role: symbol
role_heading: Instance Property
path: avfoundation/avmetadataobject/bounds
---

# bounds

The bounding rectangle associated with the metadata.

## Declaration

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

## Discussion

Discussion The bounding rectangle is specified relative to the picture or video of the corresponding media. The rectangle’s origin is always specified in the top-left corner, and the x and y axis extend down and to the right. If the metadata has no bounding rectangle, the value of this property should be CGRectZero. For video content, the bounding rectangle may be expressed using scalar values in the range 0.0 to 1.0. Scalar values remain meaningful even when the original video has been scaled down.

## See Also

### Inspecting the metadata

- [duration](avfoundation/avmetadataobject/duration.md)
- [time](avfoundation/avmetadataobject/time.md)
- [type](avfoundation/avmetadataobject/type.md)
- [AVMetadataObject.ObjectType](avfoundation/avmetadataobject/objecttype.md)
- [isFixedFocus](avfoundation/avmetadataobject/isfixedfocus.md)
- [cinematicVideoFocusMode](avfoundation/avmetadataobject/cinematicvideofocusmode.md)
- [groupID](avfoundation/avmetadataobject/groupid.md)
- [objectID](avfoundation/avmetadataobject/objectid.md)
