bounds
The bounding box of the path.
Declaration
var bounds: NSRect { get }Discussion
This property contains the rectangle that encloses the path of the receiver. If the path contains curve segments, the bounding box encloses the curve but may not enclose the control points used to calculate the curve.
If the path is empty, accessing this property raises genericException.