---
title: bounds
framework: uikit
role: symbol
role_heading: Instance Property
path: uikit/uibezierpath/bounds
---

# bounds

The bounding rectangle of the path.

## Declaration

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

## Discussion

Discussion The value in this property represents the smallest rectangle that completely encloses all points in the path, including any control points for Bézier and quadratic curves.

## See Also

### Performing hit-testing

- [contains(_:)](uikit/uibezierpath/contains(_:).md)
- [isEmpty](uikit/uibezierpath/isempty.md)
