<!--
{
  "availability" : [
    "iOS: 18.0.0 -",
    "iPadOS: 18.0.0 -",
    "macCatalyst: 15.0.0 -",
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "AVFoundation",
  "identifier" : "/documentation/AVFoundation/AVCaptionRenderer/bounds",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "AVFoundation"
    ],
    "preciseIdentifier" : "c:objc(cs)AVCaptionRenderer(py)bounds"
  },
  "title" : "bounds"
}
-->

# bounds

The drawing bounds of caption scenes.

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

## Discussion

Set this property value before drawing. The renderer uses the value in each call to [`render(in:for:)`](/documentation/AVFoundation/AVCaptionRenderer/render(in:for:)), until you change it to a new value.

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)