Question

NSBezierPath provides an API called bounds that returns bounds without control points. Is there any equivalent API in UIBezierPath to return the path bounds excluding control points?

Was it helpful?

Solution

I got the solution, which was simple. CGPath provides such a call: CGPathGetPathBoundingBox. We can always get CGPath from UIBezierPath.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top