Contents

bounds

The bounding rectangle of the path.

Declaration

var bounds: CGRect { get }

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