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

# bounds

The drawing bounds of caption scenes.

## Declaration

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

## Discussion

Discussion Set this property value before drawing. The renderer uses the value in each call to render(in:for:), until you change it to a new value.

## See Also

### Configuring the renderer

- [captions](avfoundation/avcaptionrenderer/captions.md)
