---
title: boundingRect
framework: swiftui
role: symbol
role_heading: Instance Property
path: swiftui/path/boundingrect
---

# boundingRect

A rectangle containing all path segments.

## Declaration

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

## Discussion

Discussion This is the smallest rectangle completely enclosing all points in the path but not including control points for Bézier curves.

## See Also

### Getting the path’s characteristics

- [cgPath](swiftui/path/cgpath.md)
- [contains(_:eoFill:)](swiftui/path/contains(_:eofill:).md)
- [currentPoint](swiftui/path/currentpoint.md)
- [description](swiftui/path/description.md)
- [isEmpty](swiftui/path/isempty.md)
