Returns the smallest rectangle that contains the current path.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
- Core Graphics
The graphics context, containing a path, to examine.
The dimensions and location, in user space, of the bounding box of the path. If there is no path, the function returns
The bounding box is the smallest rectangle completely enclosing all points in a path, including control points for Bézier cubic and quadratic curves.